0

I'm looking for a Python IDE that can help me easily locate and manage and use the libraries on my system (Ubuntu). Specifically Twisted.

Code completion is important including the symbols I import.

(I've so far had a look at PyDev as well as OpenKomodo, but while both offer code completion for default Python concepts, I wasn't able to get either to import Twisted into my project and was thus getting reference errors.)

Usual disclaimer: I don't like EMACS or vi, please, nothing regarding those.

Alexander Trauzzi
  • 7,277
  • 13
  • 68
  • 112

6 Answers6

3

Using Wing IDE with Twisted discusses how to debug twisted using their IDE - although unfortunately WingWare is not free.

Are you sure you have given PyDev a fair look? It seems to be the most popular Python IDE, and I have always had good experiences with it in the past.

Justin Ethier
  • 131,333
  • 52
  • 229
  • 284
  • PyDev is good and fast, but it requires too much management of the project file. Really, aren't python libraries "just supposed to work"(tm)? I was getting symbol errors and it seems like PyDev hasn't made itself a natural fit yet. I'm sure it will eventually, but right out of the box, the netbeans Python preview has impressed me. – Alexander Trauzzi Apr 06 '10 at 16:12
  • 1
    @Omega - You might need to set up your interpreter pythonpath in eclipse -- Window>Preferences>Pydev>Interpreter-Python>Libraries. Managing individual project paths should only be necessary if you want to reference libraries that aren't in your default pythonpath, or if you want to reference dev versions of a library. –  Apr 06 '10 at 16:53
2

I've just downloaded the preview of netbeans and it seems to have done quite well so far.

It has detected inherited methods & properties. I haven't had to add a single library reference in my project, so this seems to be the most fluid so far.

Alexander Trauzzi
  • 7,277
  • 13
  • 68
  • 112
  • 2
    netbeans is owned by Sun who are now owned by Oracle. Oracle has said that netbeans support for dynamic languages will be "from the community" i.e. not from Oracle. I'd think twice about learning to use netbeans when its python support is so uncertain. – blokeley Apr 06 '10 at 16:45
  • That's a shame, python/netbeans looked promising! Do you have any more information, or references? Are there other projects Oracle has effectively canceled? – Justin Ethier Apr 06 '10 at 17:03
  • Yeah, I've become somewhat leery of anything Oracle has come to own at this point. Very sound reasoning - even so far as wanting an IDE that doesn't depend on Java. – Alexander Trauzzi Apr 06 '10 at 17:13
  • In this webcast http://oracle.com.edgesuite.net/ivt/4000/8104/9236/12627/lobby_external_flash_clean_480x360/default.htm, Oracle basically says it is not going to support netbeans+python, which is a pity because I thought it was getting very good indeed and had even started using it in preference to pydev. Fast forward to about 11:55 to hear about netbeans and dynamic languages. – blokeley Apr 07 '10 at 16:54
  • Oracle is going to develop netbeans, but only for Java. More details are at http://www.oracle.com/events/productstrategy/index.html#software – blokeley Apr 07 '10 at 16:55
  • Having used python+netbeans over the last year, I can say that in version 6.9 the support was quite good. Now version 7.1 is out and there is no visible python support. I am currently looking to migrate to an IDE with a strong python following so that I can learn the IDE and stick with it for good. I would recommend doing the same. – zzz Jan 05 '12 at 15:35
2

eclipse + pydev seems to work well for me.

Just remember to right-click on the project and select Properties and make sure that your libraries are on the path. Sometimes this doesn't happen for easy_installed libraries.

blokeley
  • 6,726
  • 9
  • 53
  • 75
  • +1 for eclipse + pydev. Has all the standard python IDE features like syntax highlighting, etc. But also has a working debugger, seamless integration with Subversion, and some other cool features using the mylyn extensions. –  Apr 06 '10 at 16:56
  • I guess that's the problem for me with pydev really. I wasn't really sure how to properly add libraries or where to go looking for twisted. – Alexander Trauzzi Apr 06 '10 at 17:14
1

Check out JetBrains PyCharm. It features:

  • Code completion of any imported library
  • Good support for unit testing
  • Refactoring
  • Debugging
  • Version control integration

It's built on the same platform as IntelliJ IDEA which is a generally considered one of the best Java IDEs. There's a community edition which is free and open-source.

Frederik
  • 14,156
  • 10
  • 45
  • 53
0

Like Eclipse is primarily a Java IDE written in Java, you could try Eric which is a Python IDE written in Python. I have had some issues with it in the past but I really enjoy the ability to stop your code at a breakpoint and have access to the python console to manipulate your data or even to inject new functions. PyDev could really use a console like that.

whatnick
  • 5,400
  • 3
  • 19
  • 35
0

for a small proyects Scribes. Otherwise Eclipse+pydev.

lctr30
  • 526
  • 1
  • 4
  • 17