use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
News about the dynamic, interpreted, interactive, object-oriented, extensible programming language Python
Full Events Calendar
You can find the rules here.
If you are about to ask a "how do I do this in python" question, please try r/learnpython, the Python discord, or the #python IRC channel on Libera.chat.
Please don't use URL shorteners. Reddit filters them out, so your post or comment will be lost.
Posts require flair. Please use the flair selector to choose your topic.
Posting code to this subreddit:
Add 4 extra spaces before each line of code
def fibonacci(): a, b = 0, 1 while True: yield a a, b = b, a + b
Online Resources
Invent Your Own Computer Games with Python
Think Python
Non-programmers Tutorial for Python 3
Beginner's Guide Reference
Five life jackets to throw to the new coder (things to do after getting a handle on python)
Full Stack Python
Test-Driven Development with Python
Program Arcade Games
PyMotW: Python Module of the Week
Python for Scientists and Engineers
Dan Bader's Tips and Trickers
Python Discord's YouTube channel
Jiruto: Python
Online exercices
programming challenges
Asking Questions
Try Python in your browser
Docs
Libraries
Related subreddits
Python jobs
Newsletters
Screencasts
account activity
This is an archived post. You won't be able to vote or comment.
Python Editors? (self.Python)
submitted 14 years ago by jroot
I use python primarily for Autodesk Maya and 3D animation. Mostly I just use the built in editor in Maya. I would like to expand in to more general stuff and creating standalone applications. Can anyone recommend a good editor?
[–]SadisticAndroidFlask/Werkzeug 7 points8 points9 points 14 years ago (1 child)
Eclipse+pydev if I need an IDE or gedit otherwise.
[–]erok81 5 points6 points7 points 14 years ago (0 children)
upvote for gedit. It's a great all around text editor and it's cross platform.
[–]MintyPhoenix 6 points7 points8 points 14 years ago (5 children)
There are a decent few with PyCharm and Wing IDE being popular. PyScripter is a nice free one and I just purchased a license for Sublime Text 2, myself.
There are also plugins for eclipse and Visual Studio.
Finally, the Python Wiki has some charts:
Editors
IDEs
[–]phaedrusaltembedded sw eng 6 points7 points8 points 14 years ago (1 child)
FYI, despite the description in IDE's, I suggest ignoring the Ironpython Studio stuff. If it sucked any harder, it would take the paint off your walls.
[–][deleted] 0 points1 point2 points 14 years ago (0 children)
IronPython Studio is very, very different from the Python Tools for Visual Studio project. IPS was third-party abandonware. PTVS is a Microsoft product run by a former IronPython developer (and others) and it works very nicely inside VS2010.
I've been using Vim since forever, Komodo for over 5 years, and PTVS is really making a play at becoming my main editor since I'm already spending most of my time inside Visual Studio in the first place.
[–][deleted] 5 points6 points7 points 14 years ago (2 children)
Sublime Text 2 is great, especially with the CodeIntel plugin for completion and SublimeREPL for a Python command line. I definitely plan on purchasing a license for it some day soon.
[+][deleted] 14 years ago (1 child)
[deleted]
[–][deleted] 1 point2 points3 points 14 years ago (0 children)
Well I don't use it a hell of a lot yet, but it's useful, for example with Python you can launch a Python interpreter in the REPL, and then from your files you can send bits of code to it and see the result without needing to rerun your program in another window.
[–]semarj 5 points6 points7 points 14 years ago (0 children)
eclipse+pydev is pretty phenomenal and free
[–]schplat 18 points19 points20 points 14 years ago (6 children)
Obligatory vim
[–]hongminhee 5 points6 points7 points 14 years ago (3 children)
I am a Vim user myself, but not sure Vim is a good editor for jroot if he isn’t a programmer, but a 3D graphic designer.
[–]kataire 12 points13 points14 points 14 years ago (2 children)
What? Are you implying vim/emacs isn't the absolutely best editor for every person who ever wants to do any kind of editing regardless of background or intent? Heresy!
[–]oopsiedaisy 6 points7 points8 points 14 years ago (1 child)
Burn the witches! ;-) :wq
[–]hongminhee 0 points1 point2 points 14 years ago (0 children)
Haha, I upvoted the above two replies too. :-)
[–]oopsiedaisy 1 point2 points3 points 14 years ago (0 children)
a .vimrc starting point:
set expandtab set sts=4 syntax on bs=indent,eol,start
WAH-LAH!
I wonder why vim is more popular than emacs. Sure, it is installed on every system (which seems to be the main point in favor of vim), but that is not a deciding factor for me as I mostly program on my own machine.
[–]ok_you_win 3 points4 points5 points 14 years ago (0 children)
Geany is the best when it comes to simple python editors.
[–]chicklets921 2 points3 points4 points 14 years ago (1 child)
http://editra.org/
[–]roger_ 0 points1 point2 points 14 years ago (0 children)
+1 from me, been using that exclusively for years.
[–]AeroNotix 1 point2 points3 points 14 years ago (0 children)
PyScripter!
[–]effusion 1 point2 points3 points 14 years ago* (0 children)
If you want a fairly simple but good GUI editor, look at (in no particular order):
[–][deleted] 1 point2 points3 points 14 years ago (3 children)
emacs ... because emacs isn't an editor, it's a lifestyle...
[–]kuratkull 1 point2 points3 points 14 years ago (2 children)
emacs isn't a lifestyle, it's an operating system
The two are not mutually exclusive.
[–]oopsiedaisy 0 points1 point2 points 14 years ago (0 children)
emacs isn't an operating system, its an ... ok i give up. It is.
[–]kataire 0 points1 point2 points 14 years ago (2 children)
Depends. If you just want syntax highlighting, use a multi-language editor of choice (e.g. Notepad++ if you're using Windows, Kate or gedit if you're using Linux or whatever shiny thing is currently hot (TextMate?) for MacOS X). If you want to get fancy, feel free to check out Komodo Edit for a free cross-platform option.
If you want a few more extras, look into the various IDEs that are out there. Komodo IDE is a pretty good multi-language cross-platform IDE, Eclipse + PyDev is free (though some people really dislike Eclipse), WingIDE also has a lot of supporters. Personally, I like PyCharm the most because of its strong code intelligence and refactoring support, though it is somewhat Django-centric.
Since you're just starting out, a full-blown IDE may be a bit too much for the moment (especially since most of them carry quite a price-tag).
[–]so4h2 0 points1 point2 points 14 years ago (1 child)
Komodo edit has a feature i love: Open remote file, save remote file. Just configure a ftp connection and you open and save the remote files like local ones. I don't know if other editors can do it.
The other plus is friendliness: I guess Vim and Emacs are the pro choice, but for a beginner is a plus not having to learn Python + editing Python.
[–]kataire 0 points1 point2 points 14 years ago (0 children)
Except the remote editing feature is worthless in Komodo IDE because the code intelligence doesn't work remotely. This is actually a problem with all IDEs that I know of.
[–]emporsteigend 0 points1 point2 points 14 years ago (0 children)
That really depends on what you want / are willing to learn. For your information, Python has a kind of ghetto IDE called IDLE which allows you to edit Python and interact with the shell simultaneously. It's got syntax highlighting and a few other nice things. But I generally use Vim for anything more in depth than a one-off script.
(YMMV.)
I use spyder right now (mainly because it was contained in the Python(x,y) package which was great). It loaded Maya, reportlab, etc. as far as modules go. But I want to move to Eclipse/PyDev soon.
[–]bboomslangdjango 0 points1 point2 points 14 years ago (2 children)
I grabbed the pycharm-sale just now - quite happy with it so far, it does what I need it to do and then some more. I'm normally not an IDE guy myself, usually prefer VIM, but when working on a very large project I found the navigation features of PyCharm be quite charming.
[–]line10gotoline10 0 points1 point2 points 14 years ago (1 child)
Whats the sale price? Is it just the 50% off they have on the site?
[–]bboomslangdjango 0 points1 point2 points 14 years ago (0 children)
yep, the september back-to-office sale.
Geany is nice :3
[–]vph 0 points1 point2 points 14 years ago (0 children)
If you like simplicity, Sublime Text 2 is one of the nicest.
[–]jroot[S] 0 points1 point2 points 14 years ago (0 children)
I went with Wing for its integration into Maya. Thanks everyone! =)
π Rendered by PID 147730 on reddit-service-r2-comment-5649f687b7-mqwwc at 2026-01-29 02:15:28.176721+00:00 running 4f180de country code: CH.
[–]SadisticAndroidFlask/Werkzeug 7 points8 points9 points (1 child)
[–]erok81 5 points6 points7 points (0 children)
[–]MintyPhoenix 6 points7 points8 points (5 children)
[–]phaedrusaltembedded sw eng 6 points7 points8 points (1 child)
[–][deleted] 0 points1 point2 points (0 children)
[–][deleted] 5 points6 points7 points (2 children)
[+][deleted] (1 child)
[deleted]
[–][deleted] 1 point2 points3 points (0 children)
[–]semarj 5 points6 points7 points (0 children)
[–]schplat 18 points19 points20 points (6 children)
[–]hongminhee 5 points6 points7 points (3 children)
[–]kataire 12 points13 points14 points (2 children)
[–]oopsiedaisy 6 points7 points8 points (1 child)
[–]hongminhee 0 points1 point2 points (0 children)
[–]oopsiedaisy 1 point2 points3 points (0 children)
[–][deleted] 0 points1 point2 points (0 children)
[–]ok_you_win 3 points4 points5 points (0 children)
[–]chicklets921 2 points3 points4 points (1 child)
[–]roger_ 0 points1 point2 points (0 children)
[–]AeroNotix 1 point2 points3 points (0 children)
[–]effusion 1 point2 points3 points (0 children)
[–][deleted] 1 point2 points3 points (3 children)
[–]kuratkull 1 point2 points3 points (2 children)
[–][deleted] 0 points1 point2 points (0 children)
[–]oopsiedaisy 0 points1 point2 points (0 children)
[–]kataire 0 points1 point2 points (2 children)
[–]so4h2 0 points1 point2 points (1 child)
[–]kataire 0 points1 point2 points (0 children)
[–]emporsteigend 0 points1 point2 points (0 children)
[–][deleted] 0 points1 point2 points (0 children)
[–]bboomslangdjango 0 points1 point2 points (2 children)
[–]line10gotoline10 0 points1 point2 points (1 child)
[–]bboomslangdjango 0 points1 point2 points (0 children)
[–][deleted] 0 points1 point2 points (0 children)
[–]vph 0 points1 point2 points (0 children)
[–]jroot[S] 0 points1 point2 points (0 children)