Python development tools

Source: Internet
Author: User
Tags netbeans
To do this, you must first sharpen the tool-a few simple steps to build a handy python development tool (windows and Linux multi-version)

For beginners of a language, the first threshold is generally the selection and configuration of development tools. Using notepad to write code and write helloworld is quite easy to use, however, the development that needs to be a little larger will be immediately stretched, so the purpose of this article is to give a quick start guide to learn Python Tx.

Method 0: Use EditPlus, UtralEdit, and other enhanced notepad. The syntax is highlighted and OK. However, you can use auto-completion or smart sensing, it is said that some Daniel who has a strong resentment against IDE prefers this completely anti-IDE Method for development.

Method 1: If you are using Eclipse, congratulations, you only need to install the PyDev plug-in.

Http://pydev.org/get, you can also install this plug-in by adding urlhttp: // pydev.org/updates to Eclipse's UpdateManager. The feature list of this plug-in can be found in this part of the http://pydev.org/manual_adv_features.html, the function is not full but intelligent perception of the function is often cramps, so often it depends on your own.

Method 2: I have never tried this method. It is said that VS. NET can be used as a Python IDE by directly installing IronPython,

Method 3: for windows, you can download the python earlyaccess version of NetBeans or the PyCharm version of JetBrains (this is said to be a test version and the official version may be charged)

Method 4: if you are tired of the full-featured superIDE that can be completed for you in addition to the baby, you need to be lighter, lighter, and less likely to have a huge body of several hundred MB, when the memory consumption of hundreds of MB of memory is activated, some lightweight ides may be more suitable for you, such as windows, Ulipad (recommended, made in China, python community Limodou ), KomodoEdit (castrated KomodoIDE), after my trial, these two are relatively easy to use, and the remaining ones such as Eric are too complicated, windIDE has never seen it because it requires money. The SPEs are full of ADS donated by the author.

Ulipad is relatively easy to install, if you have installed WxPython. Only svn checkout is requiredHttp: // Ulipad.googlecode.com/svn/trunk/ ulipad-read-only to check out the latest source code. py (after the experiment, there may be some weird situations when running Ulipad in linux. We recommend that you use it in Windows)

KomodoEDIT is relatively troublesome, you can go to the official website to download the http://www.activestate.com/komodo-edit, this thing is based on Mozilla framework is very fresh, use the browser to make the shell editor, you can install the plug-in like Firefox

Method 5: If you are too reluctant to even download and install the IDE, and are crazy DIY elements, you can try to use a powerful editor to convert it into your own unique, cool IDE, code highlighting, auto-completion, smart sensing, and many functions I expect. The appropriate editor is Emacs, vim, and Gedit on the GUI. Since Emacs uses Lisp as a plug-in, I am still very weak. I am still adapting to the imperative editing of vim, so the rest is the Gedit with great affinity, this editor is a text editor that comes with the Ubuntu Desktop Environment. Although you just installed Ubuntu and opened it, it looks as simple as Notepad, but this guy is definitely not simple. So I will show you the process of using Gedit to build Python development tools.

First, let's assume that we have just installed Ubuntu. At this time, we can open Gedit in the Application> attachments> text editing. it's too simple. It's exactly the same as Notepad, for example:

 

 

Next, we need to install the official plug-in package of Gedit by entering sudo apt-get install gedit-plugins in the terminal window.

Then we can start to customize Gedit, and open edit-> preferences, such:

 

By default, only automatic line breaks are started. I will mark all the hooks here.

Click the editor to perform the following Configuration:


 

Here, we need to enable the auto indent function that is disabled by default, and change the default space to the setting that replaces the tab from 8 to 4. You do not need to select the option when saving the file, automatic Backup will cause a lot of trouble for development under the svn working directory. Remember to turn it off. Then click the font and color:

 

The Darkmate color scheme selected by developers was downloaded from the Gedit official website. You can forge the Gedit editing area into a TextMate style. The installation method is very simple. Click Add, find the downloaded color scheme xml file and select the plug-in to go to the function configuration page.

 

Here, you can directly hook all the functions, and then the corresponding functions appear in the menu. Some functions that act on the editing area will be automatically started in the corresponding file format. At this time, Gedit has a set of other editor functions, including code highlighting, Automatic completion, and automatic completion. However, intelligent perception cannot be based on context, it matches the current file or the Token in the open file. To achieve the perfect effect, I found a plug-in under development on the Gedit official website, that is, the Python smart sensing plug-in, which is still in the source code status, so I only need to Clone it on Github. I have made a package and put it at the end of this article. You can download it by yourself. This plug-in is easy to install. First, open a terminal. Then go to the directory:

 

Check that the plugins directory is missing. If you do not have this directory, mkdir plugins. If yes, you can just import the downloaded plug-in cp. After cp goes in, re-open Gedit and you will be able to see this plug-in the plug-in. You can check the plug-in where it is used.

After opening the sidebar and bottom pane, let's take a look at the finished product:

 

Plug-in:/Files/Alexander-Lee/geditpycompletion_src.tar.gz.zip Files cannot be uploaded. For example, remove the. ZIP file and decompress it after downloading it.

 

For beginners of a language, the first threshold is generally the selection and configuration of development tools. Using notepad to write code and write helloworld is quite easy to use, however, the development that needs to be a little larger will be immediately stretched, so the purpose of this article is to give a quick start guide to learn Python Tx.

Method 0: Use EditPlus, UtralEdit, and other enhanced notepad. The syntax is highlighted and OK. However, you can use auto-completion or smart sensing, it is said that some Daniel who has a strong resentment against IDE prefers this completely anti-IDE Method for development.

Method 1: If you are using Eclipse, congratulations, you only need to install the PyDev plug-in.

Http://pydev.org/get, you can also install this plug-in by adding urlhttp: // pydev.org/updates to Eclipse's UpdateManager. The feature list of this plug-in can be found in this part of the http://pydev.org/manual_adv_features.html, the function is not full but intelligent perception of the function is often cramps, so often it depends on your own.

Method 2: I have never tried this method. It is said that VS. NET can be used as a Python IDE by directly installing IronPython,

Method 3: for windows, you can download the python earlyaccess version of NetBeans or the PyCharm version of JetBrains (this is said to be a test version and the official version may be charged)

Method 4: if you are tired of the full-featured superIDE that can be completed for you in addition to the baby, you need to be lighter, lighter, and less likely to have a huge body of several hundred MB, when the memory consumption of hundreds of MB of memory is activated, some lightweight ides may be more suitable for you, such as windows, Ulipad (recommended, made in China, python community Limodou ), KomodoEdit (castrated KomodoIDE), after my trial, these two are relatively easy to use, and the remaining ones such as Eric are too complicated, windIDE has never seen it because it requires money. The SPEs are full of ADS donated by the author.

Ulipad is relatively easy to install, if you have installed WxPython. Only svn checkout is requiredHttp: // Ulipad.googlecode.com/svn/trunk/ ulipad-read-only to check out the latest source code. py (after the experiment, there may be some weird situations when running Ulipad in linux. We recommend that you use it in Windows)

KomodoEDIT is relatively troublesome, you can go to the official website to download the http://www.activestate.com/komodo-edit, this thing is based on Mozilla framework is very fresh, use the browser to make the shell editor, you can install the plug-in like Firefox

Method 5: If you are too reluctant to even download and install the IDE, and are crazy DIY elements, you can try to use a powerful editor to convert it into your own unique, cool IDE, code highlighting, auto-completion, smart sensing, and many functions I expect. The appropriate editor is Emacs, vim, and Gedit on the GUI. Since Emacs uses Lisp as a plug-in, I am still very weak. I am still adapting to the imperative editing of vim, so the rest is the Gedit with great affinity, this editor is a text editor that comes with the Ubuntu Desktop Environment. Although you just installed Ubuntu and opened it, it looks as simple as Notepad, but this guy is definitely not simple. So I will show you the process of using Gedit to build Python development tools.

First, let's assume that we have just installed Ubuntu. At this time, we can open Gedit in the Application> attachments> text editing. it's too simple. It's exactly the same as Notepad, for example:

 

 

Next, we need to install the official plug-in package of Gedit by entering sudo apt-get install gedit-plugins in the terminal window.

Then we can start to customize Gedit, and open edit-> preferences, such:

 

By default, only automatic line breaks are started. I will mark all the hooks here.

Click the editor to perform the following Configuration:


 

Here, we need to enable the auto indent function that is disabled by default, and change the default space to the setting that replaces the tab from 8 to 4. You do not need to select the option when saving the file, automatic Backup will cause a lot of trouble for development under the svn working directory. Remember to turn it off. Then click the font and color:

 

The Darkmate color scheme selected by developers was downloaded from the Gedit official website. You can forge the Gedit editing area into a TextMate style. The installation method is very simple. Click Add, find the downloaded color scheme xml file and select the plug-in to go to the function configuration page.

 

Here, you can directly hook all the functions, and then the corresponding functions appear in the menu. Some functions that act on the editing area will be automatically started in the corresponding file format. At this time, Gedit has a set of other editor functions, including code highlighting, Automatic completion, and automatic completion. However, intelligent perception cannot be based on context, it matches the current file or the Token in the open file. To achieve the perfect effect, I found a plug-in under development on the Gedit official website, that is, the Python smart sensing plug-in, which is still in the source code status, so I only need to Clone it on Github. I have made a package and put it at the end of this article. You can download it by yourself. This plug-in is easy to install. First, open a terminal. Then go to the directory:

 

Check that the plugins directory is missing. If you do not have this directory, mkdir plugins. If yes, you can just import the downloaded plug-in cp. After cp goes in, re-open Gedit and you will be able to see this plug-in the plug-in. You can check the plug-in where it is used.

After opening the sidebar and bottom pane, let's take a look at the finished product:

 

Plug-in:/Files/Alexander-Lee/geditpycompletion_src.tar.gz.zip Files cannot be uploaded. For example, remove the. ZIP file and decompress it after downloading it.

 

Plug-in:/Files/Alexander-Lee/geditpycompletion_src.tar.gz.zip Files cannot be uploaded. For example, remove the. ZIP file and decompress it after downloading it.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.