News for hackers. Stuff that matters.

Ask HN: Best text editor for python?

I recently started learning Python. I have never programmed before this, and I am using a mac. I am using the book Learn Python the Hard Way, which recommended starting with Gedit, so that is what I am using right now. I don't really like the layout of Gedit, and I have noticed multiple bugs. I would like to switch to a different text editor soon. What do you recommend?
( 14 comments | 6 points | on HN )
Re:Ask HN: Best text editor for python? by peterfschaadt on Tuesday March 06, 2012 @06:43PM (#3673476)
I recommend the cross-platform Sublime Text editor. It's very similar to Textmate, providing basic features and syntax highlighting, while staying out of your way. With its plugins you can easily add additional features.

http://www.sublimetext.com

Re:Ask HN: Best text editor for python? by eddy_chan on Tuesday March 06, 2012 @07:51PM (#3673723)
This - is totally the text editor I used to learn Python, now I'm using it for jQuery tutorials.

For an IDE suggestion, I'd vote for PyCharm once you're developing more complex stuff http://www.jetbrains.com/pycharm/. Most worthwhile $100 I've ever spent when I compare the number of hours I'm on it with its purchase cost.

Re:Ask HN: Best text editor for python? by dibarra on Tuesday March 06, 2012 @07:01PM (#3673535)
Sublime Text 2 is really great- it's even built on Python. If OP wants the frilly stuff, I recommend PyCharm http://www.jetbrains.com/pycharm/
Re:Ask HN: Best text editor for python? by dkersten on Tuesday March 06, 2012 @07:37PM (#3673684)
If you want a full blown IDE, WingIDE is, IMHO, the best IDE there is for Python. If you are looking for a text editor, vim is hard to beat if you are willing to put in the time to learn it, otherwise, I personally use Geany regularly.
Re:Ask HN: Best text editor for python? by dm73 on Tuesday March 06, 2012 @07:21PM (#3673621)
I really like jEdit: very extendible with the available plugins, and suits me for any language
Re:Ask HN: Best text editor for python? by quadlock on Wednesday March 07, 2012 @01:26AM (#3674513)
jEdit +1 for all around super programming powers. PyCharm +1 for python and javascript programming. vim or macvim for fast access to large text files.
Re:Ask HN: Best text editor for python? by jimhoff11 on Tuesday March 06, 2012 @06:32PM (#3673439)
Vim. It is challenging at first, but learning it will make you a better programmer.
Re:Ask HN: Best text editor for python? by Wizzard8 on Tuesday March 06, 2012 @06:46PM (#3673484)
Couldn't Agree More! MacVim download available here: http://goo.gl/SKUO
Re:Ask HN: Best text editor for python? by ceph_ on Tuesday March 06, 2012 @08:39PM (#3673857)
Now that 7.3 comes standard on Lion, what are the advantages of using MacVim over the cli vim that is already installed?
Re:Ask HN: Best text editor for python? by Wizzard8 on Tuesday March 06, 2012 @09:56PM (#3674051)
Moreso just a personal preference. I migrated to Mac from a PC so I was so accustomed to gVim that MacVim was an easier transition for me.
Re:Ask HN: Best text editor for python? by dm73 on Tuesday March 06, 2012 @07:43PM (#3673694)
if looking for an IDE, you might want to give Ninja-IDE a try as well: http://ninja-ide.org/
Re:Ask HN: Best text editor for python? by dman on Tuesday March 06, 2012 @07:39PM (#3673688)
Emacs
Re:Ask HN: Best text editor for python? by reuser on Wednesday March 07, 2012 @02:07AM (#3674620)
vim or pydev
Re:Ask HN: Best text editor for python? by smeg on Tuesday March 06, 2012 @06:37PM (#3673454)
I recently discovered the Spyder ide/debugger development environment. It is quite powerful and well featured.

Before that, Eric4.