Good Python IDE?

17
8

The browser based Python interpreter is great, but I'd like to be doing some more Python coding on the side as I go through the course. Does anyone have any recommendations for a good Python IDE?

I've heard both of these recommended, but I'm not sure what's better, at least for a Python beginner:

Eclipse, with PyDev

Visual Studios, with the pytools plugin.

I've tried pytools a bit, and it seems all right. I'm more comfortable with Visual Studios than I am with Eclipse currently, but I'm wondering if that's a better route to take.

Any recommendations?

asked 21 Feb '12, 01:17

naiyt's gravatar image

naiyt
1.2k72030
accept rate: 28%

edited 01 Mar '12, 08:39

jimgb-2's gravatar image

jimgb-2
7.3k3077148

If the question was answered, please mark the answer so it won't appear in the 'unanswered' portion. If not, please give some feedback.

(25 Feb '12, 13:31) Conrado Silv... Conrado%20Silva%20Miranda-2's gravatar image

@naiyt maybe you can put this post as a community wiki so we can put a list of recommendations in the question

(08 Apr '12, 18:15) Rodrigo Pombo-3 Rodrigo%20Pombo-3's gravatar image

44 Answers:

12345next »

22

I am using Eclipse with PyDev.
there are a number of benefits for using that.

Eclipse is light weight and a comprehensive IDE for Python and a number of other languages.
User interface is simple and easy to use.
and Eclipse is portable.

I don't recommend Visual Studio because of its complexity.
Lengthy Install Process.
its not free i think not sure about that.

Download Eclipse For Windows 32bit/64bit Free

Download Eclipse for Mac OS X 32bit/63bit Free

See the link for help in configuring python with Eclipse PYDev with Eclipse

I develop JAVA ANDROID C++ & now Python and i use Eclipse for All of them

link

answered 21 Feb '12, 01:40

Muhammad%20Zubair's gravatar image

Muhammad Zubair
181132949

edited 25 Feb '12, 05:58

1

Well, in terms of Visual Studio, I get Visual Studio Ultimate free from my university. I've been using it for about 10 months or so, so I'm fairly comfortable with it. I'll try your other recommendations as well, thanks.

(21 Feb '12, 12:21) naiyt naiyt's gravatar image
12

Eclipse is LIGHTWEIGHT? Oh my god... It sure as hell is not.

(23 Feb '12, 18:39) Bongo Bongo Bongo%20Bongo's gravatar image
2

If you compare it with a text editor then its not.

(25 Feb '12, 05:41) Muhammad Zubair Muhammad%20Zubair's gravatar image

Note also that Visual Studio is a plathorm locked solution, thus you wan't be able to use it on Mac, or other Unixes.

(29 Feb '12, 02:42) Golikov Kons... Golikov%20Konstantine-1's gravatar image
4

vim/emacs + python :D

Works on all platforms - and before you say "what about Windows" there is vim for Windows!

While this is a bit of a troll, I'm only half joking (and not just because some people actually do use emacs+macros for Python with lightning speed). I use PyDev for Django development, but IHMO it is overkill for what we're doing, especially because we are not using extensive imports/external modules at this time. If anything an IDE will probably slow you down at this point. I'm using Notepad++ and Python on the command line and it is working very well so far.

(01 Mar '12, 06:28) Aaron Newton Aaron%20Newton's gravatar image

You should look into python(x,y). I'm surpirsed nobody has actually mentioned it within the first couple of pages. It's for scientific computing and ocmes with Spyder as well as a number of scientific computing packages (NumPy, SciPy and a few machine learning packages pre-installed).

(07 Apr '12, 14:23) Peng Liu Peng%20Liu's gravatar image

Eclipse is great, particularly the debugger. However I generally just use Notepad++ for tiny single file scripts like these.
You can run a separate command line terminal.

You can also use the NppExec plugin to run the scripts in place.
You just press the F6 key to run it and view the results in an attached console window.

(08 Apr '12, 08:22) Neale Morison Neale%20Morison's gravatar image

No one else mentioned it so I will: Wingware is an excellent IDE for Windows and Linux. Another possibility: Komodo by ActiveState.

Another poster mentioned this but it bears repeating: Tools in the distribution are plenty powerful. Most IDEs basically skin those tools. One other tool worth mentioning: IPython. IPython is an incredibly powerful interactive programming platform. I use IPython with a bulk editor almost exclusively.

link

answered 21 Feb '12, 09:57

Chad%20Colgur's gravatar image

Chad Colgur
198128

Wing IDE by Wingware is fantastic! I recommend the Pro version because it enables you to do interactive debugging.

(28 Feb '12, 23:51) Matthew Lenn... Matthew%20Lennig-3's gravatar image

i have been using Wing IDE and it is truly great, for me it's the best by far and i have tried all i think.

(07 Apr '12, 15:26) Miguel Angel... Miguel%20Angel%20Rasero's gravatar image

I like PyCharm

link

answered 21 Feb '12, 06:00

Mikael%20Axelsson's gravatar image

Mikael Axelsson
11714

The best ever.

(07 Apr '12, 14:41) Aleksandr Mo... Aleksandr%20Motsjonov-2's gravatar image

I use Eclipse, with PyDev
watch this tutorial

link

answered 21 Feb '12, 07:27

islam's gravatar image

islam
11514

Thanks, I will watch that once I get a chance and see how I like it.

(21 Feb '12, 11:40) naiyt naiyt's gravatar image

On windows I generally write the code using notepad++ and run it on command line. In unix I generally use vi and again execute the code in shell.

If you want to use a powerful interactive shell try ironpython .. you may like it as it is integrated with .Net

link

answered 21 Feb '12, 01:28

Shrey%20Kumar%20Shahi's gravatar image

Shrey Kumar ...
5511512

edited 21 Feb '12, 01:29

I've found the IPython interpreter very helpful, as it adds quite a few shortcuts and extra features to speed up development. That combined with whatever text editor you're familiar with should be simple, yet effective enough (emacs and vim for me).

link

answered 21 Feb '12, 01:32

William%20C%20Beard's gravatar image

William C Beard
8966929

I use a combination of Geany and Spyder.

link

answered 24 Feb '12, 07:01

Omar%20Abo-Namous-1's gravatar image

Omar Abo-Nam...
764269

1

I too use Spyder and think it's great, at least for what I do at work (physical simulations). Makes Python feel a bit like Matlab/Octave.

Though admittedly I haven't tried anything else yet.

(24 Feb '12, 11:32) Emil Emil's gravatar image

I started using Spyder 2.1.8 on Linux and Windows this week.
It's just great, especially for this course.
It's much easier to run and debug code.
Copy paste from web environment and run. No timeouts.

Additional Spyder comes with Matplotlib so you can easy visualize outputs.

(29 Mar '12, 07:31) Frane Frane's gravatar image

I also use Geany + Python in Linux. Is a lightweight IDE, funny, with syntax highlighting and auto-completion.This IDE is enough for me to CS373 and CS101 courses.
For large projects then I could suggest Eclipse.

(29 Mar '12, 07:45) MrSparc MrSparc's gravatar image

Eclipse might be too heavy for the tasks we have in this class; OTOH, There are quite nice and simple DrPyhton (modeled after DrScheme) and IDLE IDEs; I usually recommend DrPython for the beginners. Also, don't forget about ipython :)

link

answered 21 Feb '12, 01:27

motus's gravatar image

motus
1.1k61421

edited 21 Feb '12, 12:14

1

I'm a newbie to Python using IDLE. It's okay and it's free. One hint for other newbies on IDLE: when you save your file be sure to add a .py extension or you won't be able to re-open the file in IDLE. It seems like they should add this by default.

(26 Feb '12, 15:53) dconner dconner's gravatar image

It's not really an IDE, but I use Vim (specifically MacVim) with python.vim and slime.vim plugins. Slime.vim lets you pass scripts from Vim to the Python interpreter, and makes Vim a great Python development environment.

link

answered 21 Feb '12, 13:00

mrturtle's gravatar image

mrturtle
16144

Another good Python IDE for Windows is PyScripter.
Even though small (only 4.4 MB, single file download, 12 MB installed) it probably got all you need and more for this course: syntax highlighting, auto completion, debugger and an integrated interactive shell.

Since it's a small native app it might be less sluggish than Eclipse or VisualStudio. Might be a good choice for an old computer or netbook.

link

answered 21 Feb '12, 17:30

Ceda's gravatar image

Ceda
4471611

edited 21 Feb '12, 17:40

I just tried PyScripter. It reported syntax errors where there were none. It's no good.

(08 Apr '12, 08:17) Neale Morison Neale%20Morison's gravatar image

I used PyScripter for this course, although I'd used traditional methods (vim + command line execution) or winpdb in the past.
It seems very good, and I enjoyed using it.

(08 Apr '12, 16:24) Peter G. Nau Peter%20G.%20Nau's gravatar image

I have used PyScriper and I haven't had any problems so far... Very good tool...

(08 Apr '12, 16:25) Alvaro G. Oj... Alvaro%20G.%20Ojeda%20Martinez's gravatar image

I used pyscripter and it was really helpful to debug the programs

(08 Apr '12, 17:03) Guillermo-1 Guillermo-1's gravatar image
Your answer
Question text:

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "Title")
  • image?![alt text](/path/img.jpg "Title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Tags:

×5,185
×1,705
×101
×101

Asked: 21 Feb '12, 01:17

Seen: 6,719 times

Last updated: 08 Apr '12, 18:15