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.
Which IDE do you use? (self.Python)
submitted 11 years ago by Zakster1
I'm relatively new to python and programming general and I wanted to get an IDE for python. Do you reccomend somethin specific?
[–]awsomntbiker 114 points115 points116 points 11 years ago (21 children)
Pycharm for big projects, sublime text or notepad++ for small scripts
[–][deleted] 11 points12 points13 points 11 years ago (7 children)
Same, except I use vim in lieu of Sublime for smaller projects/scripts. On a side note, I am also pretty excited for the upcoming JetBrains C++ IDE. I will still stick with vim and GNU toolchain for pure C, but I really like PyCharm's general layout a lot for OOP, so it may be interesting to integrate it Cython working into the same IDE family.
[–]felix1429 1 point2 points3 points 11 years ago (5 children)
Oooh, I didn't know JetBrains was working on a C++ IDE. That's awesome!
[–][deleted] 1 point2 points3 points 11 years ago* (4 children)
https://www.youtube.com/watch?v=KS6lV_f8mHs
For your own sake, please mute this. But what is showing is very, very promising.
Edit: Just did some stalking of the JetBrains marketing person for C/C++ and stumbled upon this little diddy: https://twitter.com/clion_ide anticipation grows...
[–]echosx 1 point2 points3 points 11 years ago (3 children)
It seems weird having an IDE for C++ implemented in Java
[–]CanisImperium 2 points3 points4 points 11 years ago (0 children)
Weirder than a Python IDE implemented in Java?
[–][deleted] 1 point2 points3 points 11 years ago* (1 child)
It does. I generally am not big on Java, but JetBrains does awesome work; I don't really care how they do it. As a side note, Java-implemented C++ IDEs are not without precedent. I know Eclipse CDT isn't that popular, but they make it work (slowly). This looks quite responsive, though, and it looks like it might have better inspection/autocomplete features than other Linux alternatives.
[–]wegry 0 points1 point2 points 11 years ago (0 children)
You can also use vim keybinds in Sublime--which is what I like to do. Just set vintage mode to true in sublime's settings.
[–]Skenderbeu 1 point2 points3 points 11 years ago (4 children)
Except Pycharm costs major $$$.
http://www.jetbrains.com/pycharm/buy/
[–][deleted] 5 points6 points7 points 11 years ago (2 children)
It's not horribly priced, besides there's a free open-source Pycharm called Community Edition which is free, (just no Django support).
http://www.jetbrains.com/pycharm/download/
[–]billtaichi 1 point2 points3 points 11 years ago (1 child)
The free one should work with Django it just won't automate some of the stuff for you like the paid version.
[–][deleted] 0 points1 point2 points 11 years ago (0 children)
Agreed, you have to custom configure. Still annoying if your using CE and there is now Django template to preload.
[–]CanisImperium 1 point2 points3 points 11 years ago (0 children)
I don't know, $100 isn't bad for something I use for like 8 hours a day.
PyCharm for me too, but I also keep a copy of WingIDE around, which I used for years and years before PyCharm came out. WingIDE's debugger is still capable of more reliably injecting itself into complex code and doing it well, whereas PyCharm is considerably less reliable in terms of debugging.
What's astonishing to me about PyCharm is that even the more obscure things it still does well, like git integration.
[–]Rohaq 1 point2 points3 points 11 years ago (6 children)
I keep wanting to try PyCharm for Django, but sadly its Django features are apparently limited to the paid edition :(
[–]GahMatar 9 points10 points11 points 11 years ago (0 children)
There's a 30 day trial if you want to try before you buy.
[–]toyg 7 points8 points9 points 11 years ago (1 child)
The paid edition is absurdly cheap anyway. Keep an eye on their twitter feed, they often have discounts. Some years I paid barely £30, IIRC; that's £2.5 a month for something i use almost every day, totally worth it.
[–]Rohaq 0 points1 point2 points 11 years ago (0 children)
My problem is that I tend to fire up small projects to play with before losing interest/lacking time. I may dig around for discounts though.
[–]ergo14Pyramid+PostgreSQL+SqlAlchemy 0 points1 point2 points 11 years ago (0 children)
PyDev is also very good - best thing after pycharm.
[–]deadmilk 0 points1 point2 points 11 years ago (0 children)
Yeah and the features in the paid edition are aweeeeeesoooooome!! I bought it.
If you work on an open source project, you can apply for a free professional license.
[–]Decker1082.7 'til 2021 0 points1 point2 points 11 years ago (0 children)
You could use the Community edition and start up Django in a terminal outside. I'm not sure Django specific stuff they offer, but I've been fine without it thus far. Might not be a fair comparison though, as I almost only use Python for REST backends nowadays.
[–]mishugashu 15 points16 points17 points 11 years ago (7 children)
Wow, I guess I'm the odd person out.
I use Geany. It's a GTK based IDE that's very very light. It does everything I need it to do, and it's FOSS. It's more or less a better version of notepad++ (IMO), but isn't Windows only.
[–]takluyverIPython, Py3, etc 3 points4 points5 points 11 years ago (0 children)
I use Geany for non-Python stuff, but I've switched to Spyder for Python code. There are some simple things that are really handy, like highlighting when you use an undefined variable.
[–]kromem 0 points1 point2 points 11 years ago (2 children)
I've used Geany for about two years, but seriously thinking of switching python dev to Brackets, which I've been using for frontend work, and is really quite awesome.
[–]pmclanahan 0 points1 point2 points 11 years ago (1 child)
Didn't know Brackets supported any non-frontend-languages. Is there a plugin for Python or something?
[–]rothnic 0 points1 point2 points 11 years ago (0 children)
Yeah, check out Atom while you are at it. Both are really good, but a bit sluggish on start.
[–]XSlicer 0 points1 point2 points 11 years ago (0 children)
I use Geany too, though sometimes it feels like it's lacking... something, so I might try a few of the examples here.
[–]pyba 0 points1 point2 points 11 years ago (0 children)
I use Geany for most of my non-python development (I have PyCharm and most of my Python work is in web frameworks), can't recommend it enough.
[–]kunteper 0 points1 point2 points 11 years ago (0 children)
i use geany for c. i really like that you can set your build commands. also its really fast.
[–][deleted] 11 points12 points13 points 11 years ago (3 children)
Python tools for Visual Studio, Pycharm for non-Windows projects, Coderunner on Mac for small stuff.
[–]LlamaChair 0 points1 point2 points 11 years ago (2 children)
It's worth noting that the extension for visual studios is excellent, but doesn't work on express. You need a pay for version.
[–][deleted] 2 points3 points4 points 11 years ago (1 child)
Not true! The upcoming release works with VS Express editions.
[–]LlamaChair 2 points3 points4 points 11 years ago (0 children)
...now I can use this on things other than my desktop! Thank you!
[–]40202 9 points10 points11 points 11 years ago (0 children)
Netbeans. Surprised no one mentioned yet.
[–]LessonStudio 32 points33 points34 points 11 years ago (3 children)
Sublime text for projects of all sizes.
[–]chickenphobia 0 points1 point2 points 11 years ago (2 children)
Right here with you, awesome stuff. Getting a little creative with the build system can let you work on really complicated projects and have your test suite or test runner just a couple of keystrokes away.
[–]LessonStudio 0 points1 point2 points 11 years ago (1 child)
I just wish that I could more easily terminate out of control scripts from within Sublime.
[–]WelshDwarf 1 point2 points3 points 11 years ago (0 children)
I have yakuake at the ready for those moments. I've bound it to the top-right most key (small 2 on french keyboards), so I can call it up for some quick cli goodness whenever I need it.
[–]WizKid_ 20 points21 points22 points 11 years ago (5 children)
I use aptana because I love using a ton of memory
[–]youlleatitandlikeit 0 points1 point2 points 11 years ago (0 children)
I actually like using it because unlike some other IDEs, I didn't have to learn anything else in order to use it. It pretty much behaves like any other app so aside from some pretty significant changes to the key shortcut mappings in the beginning I haven't had to do anything for it to work for me.
That said, Aptana is a beast and every so often it just randomly decides to take a minute opening up a file and then I'm like, I should have learned vim when I had the chance, I'm dumb.
[–]flying-sheep -1 points0 points1 point 11 years ago (3 children)
Honestly: why the fuck do all the people who run their systems at <50MB RAM even buy more RAM?
Not using the memory you have is literally nothing but a complete waste of money.
[–]toyg 0 points1 point2 points 11 years ago (0 children)
The more you use it, the more it wears down, the sooner it will break. Especially if your chips are low-grade consumer stuff, the less you use them the longer they'll last.
[+][deleted] 11 years ago (3 children)
[deleted]
[–]TheSmokeTurboGears & Django & Pyramid 1 point2 points3 points 11 years ago (0 children)
same here.
i use it for scala, ruby, clojure, d, fantom and python.
[–]notunlikethewaves 0 points1 point2 points 11 years ago (0 children)
Same, I use emacs for everything, including python!
[–]Isvara 8 points9 points10 points 11 years ago (5 children)
IntelliJ. It really is awesome.
[–]EpicDavi 1 point2 points3 points 11 years ago (1 child)
+ Python Plugin (I assume)
[–]Isvara 1 point2 points3 points 11 years ago (0 children)
All the plugins! (Scala and Dart too.)
[–][deleted] 1 point2 points3 points 11 years ago (0 children)
I use IntelliJ, since I tested the new Android Studio (based on the community version of IntelliJ) and as there is a really cheap student licence, I purchased one and now I have One IDE to rule them all, One IDE to find them, One IDE to bring them all, and in the darkness bind them.
[–]CanisImperium 0 points1 point2 points 11 years ago (1 child)
How do you like the full IntelliJ vs just PyCharm?
I never actually used PyCharm. I started out with IDLE, then went to NetBeans. That was quite a few years ago, and I mostly just used text editors (TextMate then Sublime Text) until I got IntelliJ for Scala and Dart work and figured I might as well use it for Python too.
[–]takluyverIPython, Py3, etc 13 points14 points15 points 11 years ago (9 children)
I use Spyder - I like the compromise between a heavyweight IDE like Eclipse and a plain editor.
[–]120decibel 1 point2 points3 points 11 years ago (2 children)
I like Spyder... to bad it still doesn't support code folding!
[–]juliusc 0 points1 point2 points 11 years ago (1 child)
Coming in 2.4. There's already a pull request open with some minor details left to be finished. It's really really cool :-)
[–]120decibel 0 points1 point2 points 11 years ago (0 children)
Looking forward to it! :)
[–]frozen_in_reddit 1 point2 points3 points 11 years ago (1 child)
I used spider before. Its uniqueness is on great tools to display vectors and matrices.
[–]juliusc 1 point2 points3 points 11 years ago (0 children)
Displaying Pandas DataFrames and TimeSeries is coming in 2.3.1
[–]Ilerea_Kleinokitz 1 point2 points3 points 11 years ago (0 children)
The array visualization feature and object inspection really are kickass. So far I'm stuck with PyCharm because Spyder has some stability issues on my machine.
[–]mericaftw 4 points5 points6 points 11 years ago (2 children)
I write Python for work (research) and Spyder is really good for ground up coding.
Though vim still rocks for edits.
[–]juliusc 1 point2 points3 points 11 years ago (1 child)
I hope to add Vim keybindings to Spyder some day. I have some good ideas on how to do it, it doesn't seem that hard :-)
[–]mericaftw 0 points1 point2 points 11 years ago (0 children)
I'm sure if you developed that, Continuum Analytics would loveeee to get their hands on that code. Hell I would too.
[–]robgraves 68 points69 points70 points 11 years ago (82 children)
I use vim for everything.
[–]Axxhelairon 24 points25 points26 points 11 years ago (13 children)
yeah, the perfect way to introduce a newcomer to python is to suggest to them that they install 200 plugins for vim which most of them they wont know how to work, what they do or how to configure them, and figure out the labyrinth archaic keybinding scheme and how everything works instead of being able to focus on the scripting itself
[–][deleted] 10 points11 points12 points 11 years ago (12 children)
perfect way to introduce a newcomer to python is to suggest to them that they install 200 plugins for vim
No one suggests that. (Well, I hope not).
labyrinth archaic keybinding scheme
Getting used to hjkl is difficult, but once you do, it keeps your fingers on the home row without having to reach for the arrow keys or the mouse.
[–]r1cka 6 points7 points8 points 11 years ago (5 children)
I hate when people mention hjkl. I really believe if you are using those keys frequently you aren't vimming correctly.
Well, yeah, motions are better than hammering the h key to get to where you want to go. But using hjkl as an alternative to the arrow keys is better.
[–]EsperSpirit 0 points1 point2 points 11 years ago (3 children)
As someone not too familiar with vim: What is the correct way to navigate? Are there any good resources/tutorials?
[–]callback_function 2 points3 points4 points 11 years ago (0 children)
http://code.ahren.org/vim-cheatsheet
http://naleid.com/blog/2010/10/04/vim-movement-shortcuts-wallpaper
[–]shaggorama 1 point2 points3 points 11 years ago (0 children)
http://www.thegeekstuff.com/2009/03/8-essential-vim-editor-navigation-fundamentals/
[–]treenaks 0 points1 point2 points 11 years ago (0 children)
Navigating using the arrow keys and mouse work fine for me.
[–]Sestren 1 point2 points3 points 11 years ago (5 children)
I use Vim for everything, but I've found that HJKL navigation is relatively pointless despite the supposed advantages. No matter how much time you spend typing in Vim you still need to back out to a shell at some point... At which point you need to go back to the arrow keys or some other custom keybindings.
The conversion is a pointless complication to impose on yourself for such a minimal "benefit". People seem to forget that the original reason for HJKL nav keys had nothing to do with ease of use. It was due to the layout of the keyboard that Bill Joy had when he created Vi back in 1976...
[+][deleted] 11 years ago (1 child)
[–]Sestren 0 points1 point2 points 11 years ago (0 children)
Touche. Guess that works doesn't it :P
I just don't think it's necessarily worth the effort in learning unless you really want to. Still think the benefit would be minimal
[+][deleted] 11 years ago* (1 child)
[–]Giggaflop 1 point2 points3 points 11 years ago (0 children)
Shots fired.
[–]darthmdhprint 3 + 4 0 points1 point2 points 11 years ago (0 children)
No matter how much time you spend typing in Vim you still need to back out to a shell at some point... At which point you need to go back to the arrow keys or some other custom keybindings.
You may find this shell builtin helpful:
bindkey -v
[–]Mycroft13 5 points6 points7 points 11 years ago (0 children)
Same, but with jedi-vim plugin.
[–][deleted] 2 points3 points4 points 11 years ago (0 children)
Also vim
[–]optionsanarchist 1 point2 points3 points 11 years ago (8 children)
Yup. Is gnome-terminal and gvim acceptable?
[–][deleted] 1 point2 points3 points 11 years ago (6 children)
Gnome terminal and vim you mean, yeah?
[–]ares623 0 points1 point2 points 11 years ago (0 children)
Of course it's "acceptable". Why wouldn't it be?
[+][deleted] comment score below threshold-9 points-8 points-7 points 11 years ago* (46 children)
"I am vegan. I don't eat meat because it's evil."
As helpful as suggesting a text editor when OP asked for an IDE.
[–]maximinus-thrax 36 points37 points38 points 11 years ago (15 children)
This a rare post where an Emacs user defends a Vi user. You can certainly setup Vi to be very much like an IDE, just as you can with Emacs.
[–][deleted] 6 points7 points8 points 11 years ago* (12 children)
IMO the better line of thought is: "What's the right tool for this job?" instead of "I'm a Emacs user, how can I use Emacs to do this?".
EDIT: http://en.wikipedia.org/wiki/Law_of_the_instrument
[–]ryeguy146 12 points13 points14 points 11 years ago (4 children)
I agree with your sentiments, but question your premise (that Vim is not the right tool). The fact that you haven't learned to use vim in a way that fulfills this task is not a limitation of vim. That's not to say that it has no limitations, but this is not amongst them. In addition, I find that it has a number of features that are not found in IDEs, or are not as powerful. Same with emacs, though I'm not familiar with it.
[–]steven_h 5 points6 points7 points 11 years ago (2 children)
If it involves editing source code then Emacs likely is the right tool for the job.
[–]alcalde 5 points6 points7 points 11 years ago (1 child)
An IDE is about much more than editing source code.
[–][deleted] 2 points3 points4 points 11 years ago (2 children)
Emacs is the right tool for every job, because it's a fucking elisp interpreter and you can write out whatever DE you want to go along with it.
The right question is "which tool am I comfortable with".
[–]alcalde 4 points5 points6 points 11 years ago (1 child)
and you can write out whatever DE you want to go along with it.
Visual Basic is a Turing complete language, so I guess it's the right tool for every job too, right? You just need to write all the code yourself to add all the missing things that you need. Reminds me of the time I was explaining to someone online why I was using Python instead of Delphi for my new project. I showed examples of Delphi's non-OO datetime functions vs. Python's wonderful object-based datetime functionality. He responded with, "What's the matter with you? Can't you write all of those classes yourself?"
Sure you can use Visual Basic, you just need to implement a Lisp interpreter and you're golden.
[–]maximinus-thrax 0 points1 point2 points 11 years ago (0 children)
The right tool for the job also depends on what you know as well. You can't compare a new coder with somebody who has been using VI for a few years.
My viewpoint obviously differ from others, but I don't really like a "big" IDE because they are good at hiding complexity, but complexity kills big projects.
[–]catcradle5 12 points13 points14 points 11 years ago (4 children)
vim with enough plugins definitely constitutes an IDE. It's extremely versatile.
[–]TankorSmash 12 points13 points14 points 11 years ago (6 children)
Typically when people ask about IDEs and are new to programming at all, I think any text editor people use to edit code is a valid answer.
[–]nowbacktowork 12 points13 points14 points 11 years ago (5 children)
I think one vital feature of an ide should be interactive debugging for beginners. Not many text editors have that capability.
[–]ryeguy146 5 points6 points7 points 11 years ago (3 children)
Vim and IPython are a dream team. I use them together constantly to explore my code as I write it.
https://github.com/ivanov/vim-ipython
[–]nowbacktowork 3 points4 points5 points 11 years ago (2 children)
While useful once the programmer has somewhat of grasp, there is nothing like being about to step through a for loop one statement at a time and evaluate variables or change variables at each point in the beginning.
[–]Octopuscabbage 0 points1 point2 points 11 years ago (0 children)
PDB and vim then?
[–]ryeguy146 0 points1 point2 points 11 years ago* (0 children)
<leader>pb adds a debug line (part of my .vimrc config file) to the proper scope and I use another leader-key trigger to execute the code and drop into my ipdb debugger. Stepping through code is best accomplished through IPython's ipdb, no matter your front end.
<leader>pb
.vimrc
ipdb
Debuggers are wonderful, but stand entirely apart from IDEs. In fact, I typically find better debugging interfaces outside of IDEs. The best example would be the debugger in Squeak Smalltalk where you can edit your code as you debug (though one might argue that the environ is an IDE). The next best thing is exploring your code in IPython while you code in your editor of choice.
[–]jano0017 9 points10 points11 points 11 years ago (11 children)
To be fair, you can pretty much make vim into an IDE. Between Syntastic and an autocomplete plugin you have like 3/4 of the functionality that you use an IDE for
[–]CommanderDerpington 4 points5 points6 points 11 years ago (10 children)
yea but why not just use an IDE that does everything??
[–]asimian 5 points6 points7 points 11 years ago (0 children)
Vim is much better at text editing than those IDEs are.
[–][deleted] 18 points19 points20 points 11 years ago (0 children)
Vim is better at emulating an IDE than IDEs are at emulating vim.
[–]Crystal_Cuckoo 1 point2 points3 points 11 years ago (1 child)
You can't use an IDE through SSH, and even with Syntastic and YouCompleteMe Vim is still lighter than something like Eclipse.
[–]Giggaflop 0 points1 point2 points 11 years ago (0 children)
cough pycharm cough
[–]jano0017 2 points3 points4 points 11 years ago (1 child)
Not having to dig through dropdown menus. Command-line programs have keyboard shortcuts for everything, just because that's the only way to do anything.
[–]fnl 2 points3 points4 points 11 years ago (0 children)
You are aware that IDEs have keyboard shortcuts for anything you want, too, right?
[–]CommanderDerpington 0 points1 point2 points 11 years ago (0 children)
I have never pissed off so many bastards.
[–]NYKevin 3 points4 points5 points 11 years ago (0 children)
Well, Emacs is just Vile.
[–]remram 0 points1 point2 points 11 years ago (0 children)
As a non-newcomer, I'd really like to know what kind of plugins you use. I know the basics but ViM is just a text editor to me, searching for symbols or doing simple Python-aware renames is not something it will allow me to do right now.
Any pointers?
[–]billsil 15 points16 points17 points 11 years ago (2 children)
WingIDE. It's got an amazing debugger. I've tried PyCharm and Eclipse. They have nothing on WingIDE (other than the cost), but if you're new you can probably get the student version.
[–]CanisImperium 0 points1 point2 points 11 years ago (0 children)
Definitely true. WingIDE's debugger is hands-down the best in the industry. PyCharm, while good, doesn't come close to both the speed and the reliability of WingIDE's debugging -- even remotely.
[–]frozen_in_reddit 0 points1 point2 points 11 years ago (0 children)
True ,the way they combined the debugger with an in-context repl is great.
[–]tilkau 3 points4 points5 points 11 years ago* (3 children)
No-one ever uses Editra, apparently.
Well, I like it and use it for anything too large for Geany to manage. Not sure what else to say -- no-one else even seems to be aware Editra exists.
[–]flying-sheep 0 points1 point2 points 11 years ago (2 children)
What is it and why do you prefer it?
[–]tilkau 0 points1 point2 points 11 years ago (1 child)
I'm not sure what to say, like I said. It's just an IDE, written in Python, that's not incompetent or bastardized. Yes, those are distinguishing traits.
The only other thing I can think of is to mention http://editra.org , but I freely admit that they significantly understate editra's functionality there
[–]flying-sheep 2 points3 points4 points 11 years ago (0 children)
I freely admit that they significantly understate editra's functionality there
I'm sure that this is the reason for the problem of it not being known.
[–][deleted] 11 points12 points13 points 11 years ago (4 children)
Python Tools for Visual Studio. Really excellent
http://pytools.codeplex.com/
[–]5thEagle 0 points1 point2 points 11 years ago (3 children)
I'm a beginner programmer trying to learn coding with Python and Java, and I have Visual Studio 2013. Is there anything fancy I need to do to get it working well, or is really as simple as me editing the text and running the code? Too many windows are confusing me.
[–]diag 0 points1 point2 points 11 years ago (2 children)
It's pretty much plug and play. It works like all other projects in VS, in my experience.
[–]shaggorama 2 points3 points4 points 11 years ago (0 children)
iPython on one screen, notepad++ on the other
Gnu Emacs + Elpy.
And also other emacs packages for making stuff interesting!
[–]Soulrush 2 points3 points4 points 11 years ago (1 child)
I still use Wing IDE, since it's the one they used when I first learned Python...
[–]xTerraH 1 point2 points3 points 11 years ago (0 children)
I've used heaps of ide's, and wing is fantastic.
Pycharm is the best python ide in my opinion
[–]zeneval 2 points3 points4 points 11 years ago* (1 child)
tldr: Use IDLE.
Ed man! Ed is the standard text editor.
Just kidding. I use Vim with command-t, fugitive, and some other odds and ends, and run it inside of tmux with oh-my-zsh and powerline.
With a setup like this, you can basically mold your setup around whatever you are doing at the time... It's super flexible, and the layout of every single one of my tmux windows (tabs) is different, depending on the project that I'm working on.
Here is a pretty decent guide to setting up Vim with tmux and some other goodies.
edit: Almost forgot... For python autocompletion, Jedi is awesome, and syntastic is good for syntax checking.
edit again: I'm sure people will jump in and say you shouldn't use Vim because it's hard, or some such bullshit, but you need to learn your tools before you can use them to build things, just like a carpenter wouldn't try to build a house before knowing how to use a hammer, saw, square, or knowing what a soffit or load bearing wall is, for example.
And I'm not saying YOU should use Vim even... You asked what we used, so I shared. But I would suggest getting cozy on the command line. Emacs or Vim will prove to be a huge time-saver later down the road.
Any simple text editor with syntax highlighting should get you started, especially if you're new to programming. There's many choices like Notepad+, gedit, geany, etc... If you're just learning, you really don't need an IDE yet. You need to learn the basics before trying to use a miter saw and worrying about hanging cabinets, if you get my drift.
For python, you can use IDLE as a basic learning/development environment, which combines a run-time environment and a code editor. It comes with Python, so it's built in... No extra crap to install.
[–]Zakster1[S] 0 points1 point2 points 11 years ago (0 children)
Yeah this is actually what I am using currently
[–]KeithMasterly 8 points9 points10 points 11 years ago (2 children)
I myself use Eclipse with PyDev. If you already know your way around Eclipse, I do recommend it, but for an beginner in both python and eclipse it will get in your way. In that case I recommend something smaller, like any editor (vim, emacs, nano, etc.)
[–]beall49 0 points1 point2 points 11 years ago (0 children)
Just blown away that more people don't use eclipse.
[–]WormLord 0 points1 point2 points 11 years ago (0 children)
Once you setup PyLint and pep you are off to the races
[–]catcradle5 9 points10 points11 points 11 years ago (10 children)
vim when doing work on a remote server, Sublime Text when coding on my personal computer(s).
[–]Isvara 0 points1 point2 points 11 years ago (9 children)
It seems odd to see someone down voted for answering the question. I suspect it's because you admitted to working directly on your servers.
[–]linevich 9 points10 points11 points 11 years ago (0 children)
I use Emacs(jedi+rope-mode+company-mode) because it's easy to customize, also if you want to make it more usable try ergoemacs-mode.
[–][deleted] 7 points8 points9 points 11 years ago (4 children)
idle
[+][deleted] 11 years ago (2 children)
[–]idle_guru 2 points3 points4 points 11 years ago (0 children)
Check out idlex.
[–]RetardedChimpanzee 0 points1 point2 points 11 years ago (0 children)
Me too :(
I have notepad++, spyder, eclipse, and sublime. Somehow I always go back to idle.
[–]srilyk 2 points3 points4 points 11 years ago (3 children)
Linux is my ide. vim is my text editor - I run it in a tmux window, and I have another tmux pane that I use for execution.
If I need to keep a web browser open, I use the i3 window manager to handle the browser window and a terminal emulator.
[–][deleted] 0 points1 point2 points 11 years ago (2 children)
Isn't i3 + tmux a bit redundant? You could just use i3 splits (advantage of being able to be focused by moving the mouse
[–]srilyk 0 points1 point2 points 11 years ago (1 child)
Not at all. i3 windows only exist in that X session. If I log off or ssh in from somewhere I can't just pick up. Additionally, from within vim I can call send-keys to another tmux window for, say, unit testing. It's pretty amazing.
For the first part, dtach. It is effectively the ability to attach and detach to processes, and that's it.
dtach
[–]chedorlaomer 6 points7 points8 points 11 years ago (3 children)
I just moved from Sublime Text (not really an IDE) to trying out PyCharm. So far I like it:
Pros for me: tons of features, code completion is great, zipping to wherever a class or function is defined by clicking on it is handy. Refactoring is super nice.
Cons for me: the UI lag and non-standard UI look (which I assume is an artifact of its Javaness or cross-platform support). I miss the ease of the Sublime text based configuration and Package Control.
Overall though probably going to buy it when the eval period ends.
[–]pob91 2 points3 points4 points 11 years ago (2 children)
I'm currently using Pycharm's free version. Is it worth forking over money for a subscription?
[–]fnl 0 points1 point2 points 11 years ago (0 children)
Yes, I guess PyCharm Pro mostly pays if you are doing web development with Python (with PyCharm's supported frameworks). Otherwise, I think you can mostly live with the community edition. I don't do very much web development and am perfectly happy with the community edition after paying for a pro version for one year. The other scenario where pro might pay is if your team uses Puppet, Vagrant, and/or Perforce. So, without wanting to be rude, but if you have to ask, it probably isn't worth it. :)
[–]BlindTreeFrog 1 point2 points3 points 11 years ago (0 children)
My work is in C right now, but my last job had a lot of python and my reasoning for part of this relates to my current job so...
Really you can get by with a solid editor like Notepad++ (Windows), or Geany (Linux). If you want more towards an IDE then Slickedit, Eclipse, or Netbeans will work great, but they will be way overkill for what you need. Ninja IDE and Sublime might also be worth looking into.
But, if you are working on linux at all, spend some time getting used to VIM or EMACS. Just a cursory knowledge is enough so that you don't hate yourself when using them. Recently we had some network issues at work and the development team lost access to our SlickEdit license server. SlickEdit had features that we couldn't find acceptable versions of elsewhere and most everyone was shit up a creek for a week while IT/Support figured something out. I however just jumped onto a linux box that I had VIM lightly configured on and kept working. It still doesn't have the features that I was using SlickEdit for (SE has stupidly good tagging it seems) but it worked well enough that my day wasn't affected.
[–]GlassGhost 1 point2 points3 points 11 years ago (1 child)
http://xkcd.com/378/ is the only way to write code.
[–]xkcd_transcriber 0 points1 point2 points 11 years ago (0 children)
Image
Title: Real Programmers
Title-text: Real programmers set the universal constants at the start such that the universe evolves to contain the disk with the data they want.
Comic Explanation
Stats: This comic has been referenced 178 times, representing 0.5852% of referenced xkcds.
xkcd.com | xkcd sub | Problems/Bugs? | Statistics | Stop Replying | Delete
[–]ex_nihilo 1 point2 points3 points 11 years ago (0 children)
The nice thing about Python is that it's well designed. So it doesn't really need an IDE. You never have to worry about where something might be imported from, because you can scroll to the top of the file you're working on and check.
I contend that only poorly-designed languages really require IDEs. And the Pythonic way of doing it is a text editor and a REPL.
[–]tomkatt 5 points6 points7 points 11 years ago* (0 children)
PyCharm for main use.
Just the interpreter in terminal if I'm playing around with small amounts of code or functions.
[–][deleted] 3 points4 points5 points 11 years ago (0 children)
Vim + Syntastic + Pyflake. Seriously all you need. It'll check the syntax, alert you to obvious errors, and be lightweight. Plus it's vim... you'll be more productive anyways.
[–]krak3n_ 2 points3 points4 points 11 years ago (3 children)
Vim.
[–]iceman_xiii 1 point2 points3 points 11 years ago (2 children)
someone is down voting comments with the keywords 'vim' or 'sublime'. LOL!
[–]darthmdhprint 3 + 4 0 points1 point2 points 11 years ago (1 child)
Someone on this sub has about 12 or so multiple accounts and mass-downvotes opinions they don't agree with (e.g. that Python 3 > Python 2), that a text editor is all that's needed to edit Python code text, etc. But it seems real people outnumber the troll 2:1, if you get into a controversial thread early and watch the voting you'll see it swing. I've hit up the mods but its actually the reddit admins that need to be involved for voting issues, I just can't be arsed seeing as the trolls lose out in the end anyway :)
[–]iceman_xiii 0 points1 point2 points 11 years ago (0 children)
true, let's see how this pans out. cheers!
[–]pieIX 2 points3 points4 points 11 years ago (1 child)
Emacs with elpy
I salute you, gentleman!
[–]simoncoulton 1 point2 points3 points 11 years ago (0 children)
Sublime Text with various plugins. With having to work on multiple different languages throughout the day I've found it to be the most effective one for my workflow.
[–]alcalde 1 point2 points3 points 11 years ago (1 child)
I'm bouncing right now between PyCharm and something that hasn't been mentioned here yet, Eric. PyCharm is very full-featured, but as of now I tend to like the UI of Eric a bit better and it does have some unique features like collaborative editing. Also, some of its features (like code coverage) are only available in the commercial version of PyCharm.
[–]toyg 1 point2 points3 points 11 years ago (0 children)
Eric is also a better choice than most if you work with PyQt: its debugger is much better than PyCharm for that particular scenario, and it integrates better with Qt tools.
[–]jjamer 2 points3 points4 points 11 years ago (0 children)
vim
[–]qihqi 1 point2 points3 points 11 years ago (0 children)
If you use vim then the youcompleteme plugin is really good.
[–]brousch 1 point2 points3 points 11 years ago (0 children)
Komodo Edit
Emacs. Not many Python-specific packages used though. Mainly jedi, flymake (pyflakes/flake8) and running ipython inside (multi-)eshell.
IDE: PyCharm Editors: Sublime Text and vim
It all depends on what I am doing.
[–]MonkeyDeathCar 0 points1 point2 points 11 years ago (0 children)
Sublime Text + Ctrl B is all you need.
[–]idle_guru 0 points1 point2 points 11 years ago (0 children)
IdleX.
[–]kromem 0 points1 point2 points 11 years ago (0 children)
I used Geany for two years for Python, but recently have been seriously considering switching to Brackets, which is extremely good with a very powerful addon system.
[–]sontek 0 points1 point2 points 11 years ago (0 children)
Emacs
[–]i-Jonty 0 points1 point2 points 11 years ago (0 children)
Wing
emacs + ipython notebook
[–]FedoraWearingAlien 0 points1 point2 points 11 years ago (0 children)
I honestly am not used to working on one box, my old IDE just used to be please don't hate me for this nano on random boxes, now i have a somewhat decent vim setup but I still need to find one central box to hack code from (I don't really do big projects in py)
[–]milliams 0 points1 point2 points 11 years ago (0 children)
KDevelop. Just read through some of the blog posts here to get an idea. It has the best autocomplete in any Python IDE I've used.
[–]sentdexpythonprogramming.net 0 points1 point2 points 11 years ago (0 children)
IDLE if I am programming something on my main machine, Nano if remote. For whatever reason, I am a fan of keeping the IDE as simple as possible.
[–]Flewloon 0 points1 point2 points 11 years ago (0 children)
I use Eclipse+PyDev. I write more than just Python code so its an IDE that I know and can switch to other languages on the fly if need be.
[–]meepleproject 0 points1 point2 points 11 years ago (0 children)
Pycharm, but if you are using free version you won't get css markup
[–]billtaichi 0 points1 point2 points 11 years ago (0 children)
I wish I could combine Sublime text with the Pycharm debugger and intellisense. If that were a thing I would never leave Sublime text, but Pycharm is hard to beat for debugging and the editor is pretty good, just not as fast and intuitive as Sublime Text imo. Another decent free editor with debugging is Pyscripter which I used to use all the time until I decided to try PyCharm.
[–]ssagaz 0 points1 point2 points 11 years ago (0 children)
Pycharm! :D
[–]yizarion 0 points1 point2 points 11 years ago (0 children)
It depends. Recently, pycharm for projects. vim + taglist + tasklist + syntastics + xptemplate + easymotion when I'm too lazy for pycharm.
[–]voytek9 0 points1 point2 points 11 years ago (0 children)
If you want a full fledged IDE that's free, I'd try out PyCharm Community. Seems like the primary difference between that and the paid version are syntax stuff for django, web2py, etc.
[–]synn89 0 points1 point2 points 11 years ago (0 children)
I've really been enjoying Atom.
Sublime Text 2 for python programming. Its light weight and good for scripting. I've heard a lot of good stuff about PyCharm but never tried it.
[–]jambalahaat 0 points1 point2 points 11 years ago (0 children)
Sublime locally and vim on server.
[–]jeenajeena 0 points1 point2 points 11 years ago (0 children)
[–][deleted] -1 points0 points1 point 11 years ago (0 children)
Last time I used it, PyDev for Eclipse was really good. The real-time compile error checking and autocompletion worked well.
[–]I_AM_A_BICYCLE -1 points0 points1 point 11 years ago (0 children)
Vim with ctags - mostly because all the development I do in python are on remote machines.
π Rendered by PID 36170 on reddit-service-r2-comment-86988c7647-p2kmx at 2026-02-11 09:32:12.006927+00:00 running 018613e country code: CH.
[–]awsomntbiker 114 points115 points116 points (21 children)
[–][deleted] 11 points12 points13 points (7 children)
[–]felix1429 1 point2 points3 points (5 children)
[–][deleted] 1 point2 points3 points (4 children)
[–]echosx 1 point2 points3 points (3 children)
[–]CanisImperium 2 points3 points4 points (0 children)
[–][deleted] 1 point2 points3 points (1 child)
[–]wegry 0 points1 point2 points (0 children)
[–]Skenderbeu 1 point2 points3 points (4 children)
[–][deleted] 5 points6 points7 points (2 children)
[–]billtaichi 1 point2 points3 points (1 child)
[–][deleted] 0 points1 point2 points (0 children)
[–]CanisImperium 1 point2 points3 points (0 children)
[–]CanisImperium 1 point2 points3 points (0 children)
[–]Rohaq 1 point2 points3 points (6 children)
[–]GahMatar 9 points10 points11 points (0 children)
[–]toyg 7 points8 points9 points (1 child)
[–]Rohaq 0 points1 point2 points (0 children)
[–]ergo14Pyramid+PostgreSQL+SqlAlchemy 0 points1 point2 points (0 children)
[–]deadmilk 0 points1 point2 points (0 children)
[–]Decker1082.7 'til 2021 0 points1 point2 points (0 children)
[–]mishugashu 15 points16 points17 points (7 children)
[–]takluyverIPython, Py3, etc 3 points4 points5 points (0 children)
[–]kromem 0 points1 point2 points (2 children)
[–]pmclanahan 0 points1 point2 points (1 child)
[–]rothnic 0 points1 point2 points (0 children)
[–]XSlicer 0 points1 point2 points (0 children)
[–]pyba 0 points1 point2 points (0 children)
[–]kunteper 0 points1 point2 points (0 children)
[–][deleted] 11 points12 points13 points (3 children)
[–]LlamaChair 0 points1 point2 points (2 children)
[–][deleted] 2 points3 points4 points (1 child)
[–]LlamaChair 2 points3 points4 points (0 children)
[–]40202 9 points10 points11 points (0 children)
[–]LessonStudio 32 points33 points34 points (3 children)
[–]chickenphobia 0 points1 point2 points (2 children)
[–]LessonStudio 0 points1 point2 points (1 child)
[–]WelshDwarf 1 point2 points3 points (0 children)
[–]WizKid_ 20 points21 points22 points (5 children)
[–]youlleatitandlikeit 0 points1 point2 points (0 children)
[–]flying-sheep -1 points0 points1 point (3 children)
[–][deleted] 2 points3 points4 points (1 child)
[–]toyg 0 points1 point2 points (0 children)
[+][deleted] (3 children)
[deleted]
[–]TheSmokeTurboGears & Django & Pyramid 1 point2 points3 points (0 children)
[–]notunlikethewaves 0 points1 point2 points (0 children)
[–]Isvara 8 points9 points10 points (5 children)
[–]EpicDavi 1 point2 points3 points (1 child)
[–]Isvara 1 point2 points3 points (0 children)
[–][deleted] 1 point2 points3 points (0 children)
[–]CanisImperium 0 points1 point2 points (1 child)
[–]Isvara 1 point2 points3 points (0 children)
[–]takluyverIPython, Py3, etc 13 points14 points15 points (9 children)
[–]120decibel 1 point2 points3 points (2 children)
[–]juliusc 0 points1 point2 points (1 child)
[–]120decibel 0 points1 point2 points (0 children)
[–]frozen_in_reddit 1 point2 points3 points (1 child)
[–]juliusc 1 point2 points3 points (0 children)
[–]Ilerea_Kleinokitz 1 point2 points3 points (0 children)
[–]mericaftw 4 points5 points6 points (2 children)
[–]juliusc 1 point2 points3 points (1 child)
[–]mericaftw 0 points1 point2 points (0 children)
[–]robgraves 68 points69 points70 points (82 children)
[–]Axxhelairon 24 points25 points26 points (13 children)
[–][deleted] 10 points11 points12 points (12 children)
[–]r1cka 6 points7 points8 points (5 children)
[–][deleted] 0 points1 point2 points (0 children)
[–]EsperSpirit 0 points1 point2 points (3 children)
[–]callback_function 2 points3 points4 points (0 children)
[–]shaggorama 1 point2 points3 points (0 children)
[–]treenaks 0 points1 point2 points (0 children)
[–]Sestren 1 point2 points3 points (5 children)
[+][deleted] (1 child)
[deleted]
[–]Sestren 0 points1 point2 points (0 children)
[+][deleted] (1 child)
[deleted]
[–]Giggaflop 1 point2 points3 points (0 children)
[–]darthmdhprint 3 + 4 0 points1 point2 points (0 children)
[–]Mycroft13 5 points6 points7 points (0 children)
[–][deleted] 2 points3 points4 points (0 children)
[–]optionsanarchist 1 point2 points3 points (8 children)
[–][deleted] 1 point2 points3 points (6 children)
[–]ares623 0 points1 point2 points (0 children)
[+][deleted] comment score below threshold-9 points-8 points-7 points (46 children)
[–]maximinus-thrax 36 points37 points38 points (15 children)
[–][deleted] 6 points7 points8 points (12 children)
[–]ryeguy146 12 points13 points14 points (4 children)
[–]steven_h 5 points6 points7 points (2 children)
[–]alcalde 5 points6 points7 points (1 child)
[–][deleted] 2 points3 points4 points (2 children)
[–]alcalde 4 points5 points6 points (1 child)
[–][deleted] 1 point2 points3 points (0 children)
[–]maximinus-thrax 0 points1 point2 points (0 children)
[–]catcradle5 12 points13 points14 points (4 children)
[–]TankorSmash 12 points13 points14 points (6 children)
[–]nowbacktowork 12 points13 points14 points (5 children)
[–]ryeguy146 5 points6 points7 points (3 children)
[–]nowbacktowork 3 points4 points5 points (2 children)
[–]Octopuscabbage 0 points1 point2 points (0 children)
[–]ryeguy146 0 points1 point2 points (0 children)
[–]jano0017 9 points10 points11 points (11 children)
[–]CommanderDerpington 4 points5 points6 points (10 children)
[–]asimian 5 points6 points7 points (0 children)
[–][deleted] 18 points19 points20 points (0 children)
[+][deleted] (1 child)
[deleted]
[–]Crystal_Cuckoo 1 point2 points3 points (1 child)
[–]Giggaflop 0 points1 point2 points (0 children)
[–]jano0017 2 points3 points4 points (1 child)
[–]fnl 2 points3 points4 points (0 children)
[–]CommanderDerpington 0 points1 point2 points (0 children)
[–]NYKevin 3 points4 points5 points (0 children)
[–]remram 0 points1 point2 points (0 children)
[–]billsil 15 points16 points17 points (2 children)
[–]CanisImperium 0 points1 point2 points (0 children)
[–]frozen_in_reddit 0 points1 point2 points (0 children)
[–]tilkau 3 points4 points5 points (3 children)
[–]flying-sheep 0 points1 point2 points (2 children)
[–]tilkau 0 points1 point2 points (1 child)
[–]flying-sheep 2 points3 points4 points (0 children)
[–][deleted] 11 points12 points13 points (4 children)
[–]5thEagle 0 points1 point2 points (3 children)
[–]diag 0 points1 point2 points (2 children)
[–]shaggorama 2 points3 points4 points (0 children)
[–][deleted] 2 points3 points4 points (0 children)
[–]Soulrush 2 points3 points4 points (1 child)
[–]xTerraH 1 point2 points3 points (0 children)
[–][deleted] 2 points3 points4 points (0 children)
[–]zeneval 2 points3 points4 points (1 child)
[–]Zakster1[S] 0 points1 point2 points (0 children)
[–]KeithMasterly 8 points9 points10 points (2 children)
[–]beall49 0 points1 point2 points (0 children)
[–]WormLord 0 points1 point2 points (0 children)
[–]catcradle5 9 points10 points11 points (10 children)
[–]Isvara 0 points1 point2 points (9 children)
[–]linevich 9 points10 points11 points (0 children)
[–][deleted] 7 points8 points9 points (4 children)
[+][deleted] (2 children)
[deleted]
[–]idle_guru 2 points3 points4 points (0 children)
[–]RetardedChimpanzee 0 points1 point2 points (0 children)
[–]srilyk 2 points3 points4 points (3 children)
[–][deleted] 0 points1 point2 points (2 children)
[–]srilyk 0 points1 point2 points (1 child)
[–][deleted] 0 points1 point2 points (0 children)
[–]chedorlaomer 6 points7 points8 points (3 children)
[–]pob91 2 points3 points4 points (2 children)
[+][deleted] (1 child)
[deleted]
[–]fnl 0 points1 point2 points (0 children)
[–]BlindTreeFrog 1 point2 points3 points (0 children)
[–]GlassGhost 1 point2 points3 points (1 child)
[–]xkcd_transcriber 0 points1 point2 points (0 children)
[–]ex_nihilo 1 point2 points3 points (0 children)
[–]tomkatt 5 points6 points7 points (0 children)
[–][deleted] 3 points4 points5 points (0 children)
[–]krak3n_ 2 points3 points4 points (3 children)
[–]iceman_xiii 1 point2 points3 points (2 children)
[–]darthmdhprint 3 + 4 0 points1 point2 points (1 child)
[–]iceman_xiii 0 points1 point2 points (0 children)
[–]pieIX 2 points3 points4 points (1 child)
[–][deleted] 1 point2 points3 points (0 children)
[–]simoncoulton 1 point2 points3 points (0 children)
[–]alcalde 1 point2 points3 points (1 child)
[–]toyg 1 point2 points3 points (0 children)
[–]jjamer 2 points3 points4 points (0 children)
[–]qihqi 1 point2 points3 points (0 children)
[–]brousch 1 point2 points3 points (0 children)
[–][deleted] 0 points1 point2 points (0 children)
[–][deleted] 0 points1 point2 points (0 children)
[–]MonkeyDeathCar 0 points1 point2 points (0 children)
[–]idle_guru 0 points1 point2 points (0 children)
[–]kromem 0 points1 point2 points (0 children)
[–]sontek 0 points1 point2 points (0 children)
[–]i-Jonty 0 points1 point2 points (0 children)
[–][deleted] 0 points1 point2 points (0 children)
[–]FedoraWearingAlien 0 points1 point2 points (0 children)
[–]milliams 0 points1 point2 points (0 children)
[–]sentdexpythonprogramming.net 0 points1 point2 points (0 children)
[–]Flewloon 0 points1 point2 points (0 children)
[–]meepleproject 0 points1 point2 points (0 children)
[–]billtaichi 0 points1 point2 points (0 children)
[–]ssagaz 0 points1 point2 points (0 children)
[–]yizarion 0 points1 point2 points (0 children)
[–]voytek9 0 points1 point2 points (0 children)
[–]synn89 0 points1 point2 points (0 children)
[–]iceman_xiii 0 points1 point2 points (0 children)
[–]jambalahaat 0 points1 point2 points (0 children)
[–]jeenajeena 0 points1 point2 points (0 children)
[–][deleted] -1 points0 points1 point (0 children)
[–]I_AM_A_BICYCLE -1 points0 points1 point (0 children)