Netbeans (6.x version + python plugin)
Python with Netbeans 7.x don't support autocomple good, only Netbeans 6.x (I use 6.9) support good for autocomple.
To download old version, go do https://netbeans.org/downloads/6.9/ , to install plugin in, go to tools -> plugin -> availables options and search python.
I think Netbeans 6.x with python plugin is a good free IDE for python.
It support autocomplete the best (in IDEs i know), support format code (the same with eclipse).
Because python is dynamic type language, when autocomplete a variable, It will guess type,example:
a ="hello"It will show all suggestions for string type.
a.
If a is the first time type, It will show suggestions for all types and an option specify type of to set type to autocomple. Really good.
Debug in Netbeans good, can breakpoint, run 1 line .. but don't support show var in editor or watch frame, only having a debug frame, must write code and enter to watch value when debug.
When you install new package for python, delete folder and re open Netbeans, Netbeans will re-scan pagakes and update autocomplete.
C:\Users\<user_name>\.netbeans\6.9\var\cache\gsf-index
Must make project to run code but can add many folder in many area to run many code.
Eclipse + Pydev
Although it's not really good in suggestion and code format function is not comprehensive but I think it is one of the best in free IDEs for Python. Maybe Python has dynamic type, so it is difficult to autocomplete methods/functions and others IDEs I used has the same problem (or stupider, except Netbeans)
Like, with this code, I can't autocomplete strip() method.
def fun1(s):But from pydev 2.8.0, we can do it. View here to overcome. Or you can type "st" (at least 2 character) and ctrl+space
return s.strip()
print fun1(" Hello")
It support good with navigate, debug, crossplatform ...
Must make project to compile and run code.
Pycharm community
A free version of Pycharm IDE, but it is really good, better than Netbean, better than pydev but indicate variable type or autocomplete unknown variable can't be set.
I set it is the same with pydev.
Pyscripter
Like Pydev but having some advantages:
- More nice
- Can run a single file
- Lighter
- Only for window
- Don't support autoformat code
Sublime text
Beside, some colleagues like sublime text.
It is nice, autocomplete good (same pydev but smoother), can run single file, support split window...
But can't debug, auto-format code, can use free but not full free.
If you like professional IDEs (sharewares0, you can try Pycharm, Komodo ... I tried one time for each but autocomplete not good like Netbeans.
No comments:
Post a Comment