Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.
Xcode is a fine IDE for Python, in fact I edited all of my Python stuff in Xcode, the only real problem is that you can't run it directly from there like you would with C/C++/Objective C, but otherwise it's great.
 
Xcode is a fine IDE for Python, in fact I edited all of my Python stuff in Xcode, the only real problem is that you can't run it directly from there like you would with C/C++/Objective C, but otherwise it's great.

Is it any better than a text editor?
 
Xcode used to have Python templates for Python Cocoa bindings in version 3. At this point, it is an editor.
 
A more robust Python Tool

We use PyCharm at work. It supports Mac OSX, Windows, and Linux. The editor is Eclipse base but heavily modified so it's more usable than PyDev. It supports, syntax highlight, syntax checking (red highlight for issues), method suggestion popup, F3 on method to see source code, refactoring, easy to use debugger, virtualenv, file management, integration with revision controls...
 
Just use WingWare, a dedicated Python full IDE. https://wingware.com/ Cross-platform Mac/Win/Linux.

Yes it mostly costs money ($45-$245 based on features, who is using it, and what you are using it for). Also available on Steam.

Worth it.
 
It's basically a text editor with code highlighting when it comes to Python.

So why bother with it? Sublime is a better text editor - I don't even bother with an IDE for Python, I just use Sublime and the terminal.

----------

We use PyCharm at work. It supports Mac OSX, Windows, and Linux. The editor is Eclipse base but heavily modified so it's more usable than PyDev.

It's based an IntelliJ IDEA editor - it has no relation to Eclipse other than being a "competing" IDE (in the sense that little leagues and major leagues compete...)
 
I need to add on to what others have said here.

For most simple work, a text editor often works best for Python. For larger, more complex projects (especially Django projects), PyCharm is simply best in class. XCode really can't compete, the JetBrains guys have done a fantastic job building a suite of tools that simply work so well with the language, and the refactoring and organization tools are far better than anything XCode has to offer. Not to mention that they have keyboard shortcuts for everything, it really can improve the speed that you get around the toolset once you learn them.
 
I need to add on to what others have said here.

For most simple work, a text editor often works best for Python. For larger, more complex projects (especially Django projects), PyCharm is simply best in class. XCode really can't compete, the JetBrains guys have done a fantastic job building a suite of tools that simply work so well with the language, and the refactoring and organization tools are far better than anything XCode has to offer. Not to mention that they have keyboard shortcuts for everything, it really can improve the speed that you get around the toolset once you learn them.

Hm - I have a Django project that I've been managing in Sublime. Maybe I should switch to PyCharm. Probably would help with catching a bunch of the stupid mistakes I've made that have required a reboot of my server.
 
Hm - I have a Django project that I've been managing in Sublime. Maybe I should switch to PyCharm. Probably would help with catching a bunch of the stupid mistakes I've made that have required a reboot of my server.

The downside is that you need the paid version of PyCharm for full Django support, but there's a lot of really nice tools including full debugger support for both Python and JavaScript. There's always a 14 day trial!
 
The downside is that you need the paid version of PyCharm for full Django support, but there's a lot of really nice tools including full debugger support for both Python and JavaScript. There's always a 14 day trial!

I'm not paid enough for this project to warant paying their asking price... Maybe next time.

But at least it'll catch typos and whatnot that Sublime doesn't.
 
Check out Python Runner. It is $1.99 in the Mac App Store.

If you're at the point of buying apps, the evaluation version of Sublime Text will run most basic Python programs within the editor. The evaluation license is perpetual (ala WinRar), though if you aren't a starving student like some of us :p then the investment really might be worth it.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.