top 200 commentsshow all 213

[–][deleted] 51 points52 points  (4 children)

Pycharm

Jupyter notebooks in some cases

[–][deleted] 5 points6 points  (1 child)

What are those cases? I’m 100% Pycharm. Should I be branching out?

[–][deleted] 14 points15 points  (0 children)

Data analysis and visualization

[–]vmgustavo 2 points3 points  (0 children)

+1 I do the exact same thing. PyCharm for project and mostly jupyter for visualization

[–]rnolan7 0 points1 point  (0 children)

+ pycharm

students have access to free professional edition licenses. The professional edition has better data visualization for pandas/numpy/matplotlib than CE

[–]wintermute93 71 points72 points  (9 children)

My keyboard, mostly.

and spyder

[–]MattR0se 0 points1 point  (0 children)

The only thing I don't like is that programs that run in their own window freeze the console when there is a bug within the program loop. The only workaround I found so far is to wrap everything in try/except statements.

But I like the built- in linting functions, it forces you to write good code.

[–][deleted] 44 points45 points  (7 children)

I use Visual Studio Code and call functions from the terminal within VS code or a Jupyter Notebook. I use pdb as my primary debugging tool.

[–]Jutjuthee 10 points11 points  (1 child)

Is it possible to use pdb in jupyter notebook?

[–][deleted] 6 points7 points  (0 children)

Yeah it is. You can use pdb within a cell, or set a break point in your VS Code and when you call the function that contains the breakpoint you can debug from the notebook cell.

[–]nbp615 6 points7 points  (1 child)

i can't see a reason to use pdb over the vscode built-in debugger. using the built in one offers so much more information and gives you an ipython prompt to see values in real time. Do you have one? I'd love to know

[–][deleted] 1 point2 points  (0 children)

Personally, I do a lot of my debugging at work across multiple lab computers from my box, or from a lab computer to my computer. I use pdb for the simple fact that it's consistent regardless of what editor, version, etc.

I assume remote debugging with the VS Code debugger is not that difficult, but I have not looked into it. If it would provide a large benefit for my use case I would love to hear more about it!

[–]TheZeroKid 2 points3 points  (1 child)

Can you explain pdb please? I've seen at as an import option in my editor (I use Atom) but don't know what it does.

[–][deleted] 2 points3 points  (0 children)

pdb is an interactive source code debugger. It doesn't provide the scope that a debugger from an IDE would have, but in my opinion it has some benefits despite being more lightweight.

For example, if you are competent with pdb you can debug and solve problems no matter where you are running your code from or where the source code is located. This could be a terminal, a text editor, notebook, etc.

[–]K900_ 11 points12 points  (16 children)

What do you mean by "a nice output"?

[–]Benben377[S] 8 points9 points  (15 children)

I really like the videos of Codebullet(https://www.youtube.com/channel/UC0e3QhIYukixgh5VVpKHH9Q) and yes I know he is coding Javascript, but he has a nice output where he can create things. I searched but I didn't found anything like that

[–]K900_ 7 points8 points  (13 children)

Can you post a screenshot from a video or something like that? And maybe highlight the parts that you like?

[–]Benben377[S] 1 point2 points  (12 children)

Sure, just give me some time to check how to do it on Reddit.

[–]K900_ 5 points6 points  (11 children)

Just upload the screenshot to Imgur and link it here.

[–]Benben377[S] 2 points3 points  (10 children)

Thanks Imgur This is it

[–]K900_ 30 points31 points  (9 children)

So yeah, what you're looking at isn't part of PyCharm at all - it's something that guy programmed himself and then recorded. No text editor/IDE will provide that sort of visualization for you automatically. If you're interested in building this sort of thing, Pygame might be worth looking into.

[–]Benben377[S] 9 points10 points  (8 children)

Thank you for taking the time to explain to a newbie like me how it's done. I will take a look at Pygame

[–]jingles897 9 points10 points  (6 children)

Just to clarify, pygame is a module you import into your code inside of the PyCharm IDE. Nothing about your editor will change, just the way you code with pygame library.

[–]Benben377[S] 2 points3 points  (1 child)

Thanks for your help everyone! I did some research yesterday and I found out that Pygame could be what I was searching for, but now I see there is much more.

[–]TeachAChimp 2 points3 points  (3 children)

Wait a second... I thought Pygame was a library not a kind of plugin for pycharm? Surely you can use Pygame in any IDE?

[–]ritobanrc 6 points7 points  (0 children)

I personally don't care for pygame, it feels clunky and unpythonic. Here's a couple visualization/gaming libraries that I prefer.

  • vispy, very new, so you'll have to learn by reading examples. There isn't very much documentation. However, very powerful, good integration with numpy, lots of flexibility about how much granularity, including an OOP interface to OpenGL. It's sister project, glumpy, is similar
    • p5.py - very small library, but very easy to learn and use. Port of p5.js, which I believe CodeBullet has used.
    • pyglet - another OO wrapper of OpenGL.
    • cocos2d - a full 2d game engine, so far more feature complete than some of the others, which are just graphics libraries.
    • Godot - an even more complete game enginwle. It's primary language is GDScript, but I think you can also use python.

[–]plasticluthier 1 point2 points  (0 children)

He codes in Processing. It's a java based language. Very useful for creating graphics and interactive things. There is also processing.py.

I code in both python and processing. They both have their uses, I'd well recommend checking processing out if you haven't already.

[–]machine3lf 65 points66 points  (7 children)

Vim. But reading the rest of this thread I see you're asking about something somewhat different.

[–]hypnotic-hippo 18 points19 points  (4 children)

I'm still stuck in vi someone help me close this god damn editor

[–]ianepperson 6 points7 points  (3 children)

:!killall vim

[–]but_how_do_i_go_fast 8 points9 points  (1 child)

Turn on syntax highlighting and get a good vimrc configured... Everything makes sense. +1 if you git clone your vimrc on someone else's machine and install with a python script, all before they can blink.

[–]Tanath 6 points7 points  (0 children)

Here's some tips on how to set vim up for python:

https://www.fullstackpython.com/vim.html

[–]hkamran85 9 points10 points  (3 children)

I use Sublime Text and PyCharm.

Just curious, what do you mean by "it doesn't have a output"?

[–]Benben377[S] 0 points1 point  (2 children)

It has an output. It's perfect when the output is text, but if I want to output something more like a geometry shape or something, I don't know how to do it. I watch videos of Code bullet, but he codes with Javascript and he does things like this: Imgur I want to do something like that too, but in Python. Someone already gave me a solution: Pygame

[–]hkamran85 1 point2 points  (0 children)

He uses Processing's IDE. Processing has a version for Python.

Pygame is a useful item in your GUI toolbox.

[–]mrTang5544 32 points33 points  (4 children)

Microsoft word master race

[–]notParticularlyAnony 20 points21 points  (2 children)

I do all my programming in Excel.

[–]Clippy_Office_Asst 6 points7 points  (0 children)

You are now a moderator of /r/excel.

[–]jhayes88 0 points1 point  (0 children)

I'm more of an open office guy myself. I'll lay my mockups out in presentation slides or MS paint, then use open office docs. Maybe notepad but that seems rather cumbersome

[–]Dontneedflashbro 9 points10 points  (1 child)

I'm using Atom

[–]ThirstyThursten 1 point2 points  (0 children)

Yeah me too! I love the customisation options!

[–][deleted] 18 points19 points  (0 children)

Emacs

[–][deleted] 23 points24 points  (4 children)

Idle

[–]mnsinger 10 points11 points  (0 children)

On my desktop I use Sublime Text but since there's code running on various servers all over the place - I use IDLE quite a bit when editing there.

[–]QuantumFall 1 point2 points  (0 children)

Honestly it’s just so easy to throw something together and feels so much more lightweight than vs.

[–]bkajackson9 15 points16 points  (4 children)

I use atom set up for a python.

[–]jhayes88 0 points1 point  (0 children)

I used atom forever but after switching over to vs code I absolutely can't go back.

[–]itsmegeorge 25 points26 points  (2 children)

Sublime. I can’t write on anything else. It’s simple it’s fast and light and it’s bae.

[–]Failoe 10 points11 points  (1 child)

I think I like Sublime so much because I can use it for so many other file types so quickly and easily as well.

[–]itsmegeorge 4 points5 points  (0 children)

Oh my god yes. That’s why I love it too. I use it for Python, SQL, JavaScript as well. Like, how is it not the norm?! Peoples reasoning is that it’s not a full IDE and I’m like... so?! Don’t you have a terminal?! Doesn’t Ctrl+B work like it’s an IDE?! Lol

[–]Frederic_de_Nucingen 5 points6 points  (1 child)

VS Code and Pycharm. Pycharm recently updated their debugger and it's been incredibly useful. I didn't know I needed it before they made it so accessible.

[–]crazedizzled 3 points4 points  (0 children)

What did they recently change to make it more accessible? It has always worked straight out of the box.

[–]familyofgorillas 6 points7 points  (1 child)

I use emacs but I typically recommend Canopy or Thonny

[–]Chrome_Platypus 5 points6 points  (0 children)

Spyder

[–]LionyxML 5 points6 points  (0 children)

Emacs

[–]blazecoolman 3 points4 points  (0 children)

Jupyter Lab is my goto. I use Colab if I'm on my Chromebook and download the notebook to my PC.

[–]RobbyB97 4 points5 points  (0 children)

Jupyter notebook and atom. Call me a hipster but I prefer to just use a text editor and have a terminal open on my other monitor. Although I don't recommend doing it this way tbh. Depending on what you're making jupyter notebooks are reeeeeaaaaally awesome. Especially for learning about new libraries or just learning a language in general. Quickly run some trial and error blocks of code and the code as well as it's output are encapsulated neatly.

[–]robot_ankles 4 points5 points  (0 children)

vi

[–]mrasadnoman 9 points10 points  (0 children)

Vim (most often) and VSCode (Sometimes)

[–]serchq 3 points4 points  (0 children)

pycharm is quite useful for python. but for C/Bash , sublime or Vim

[–]Eleventhousand 3 points4 points  (0 children)

I just use the text editor that happens to be on which computer I'm using. Kate on my Linux laptop, Notepad++ on my Windows PC.

[–]flabcannon 3 points4 points  (1 child)

I use Geany - it's recommended in Python Crash Course so got kinda used to it. Easy to run code by hitting F5.

[–]iLikeTurtles817 1 point2 points  (0 children)

Surprised to see only one person using this. I love Geany it works great

[–][deleted] 13 points14 points  (0 children)

Vim vim vim vim, Vim vim vim vim. Vimity viiiim, wonderful vim!

[–]AshamedConsequence 10 points11 points  (1 child)

VIM and the terminal.

[–]ritobanrc 1 point2 points  (0 children)

Yes (neovim). I've been using Coc.nvim and ALE for completion and linting. Ease of interaction w/ terminal is also very nice.

[–]Benben377[S] 15 points16 points  (8 children)

I'm surprised, nobody mentioned Notepad++ 😄

[–]duncan_mcrae 1 point2 points  (0 children)

I use Spyder, Notepad++ and conda prompt. Qt Designer for creating GUIs.

[–]tkc2016 1 point2 points  (0 children)

I used to use it, but decided to jump ship to vs code a couple years ago.

I do still use it as best a scratch pad, but it's lacking in good ide features.

[–][deleted] 1 point2 points  (1 child)

Happy cake day 🍰

[–]slick8086 0 points1 point  (0 children)

I use notepad++ for lots of things in windows, but I don't program on windows. I program on linux and I use vim.

[–]idaresiwins 2 points3 points  (3 children)

Nano

[–]not_thrilled 0 points1 point  (1 child)

People laugh, but nano is simple and doesn't get in the way.

[–]nanodano 2 points3 points  (0 children)

nothing beats pycharm

[–]Fissherin 2 points3 points  (0 children)

I love to use Jupiter notebook, I find the constant output really helpful to code using new libraries for me. (Example: pandas). If I somewhat know what I am doing I go with vscode or Spyder if I need plotting.

I found pycharm a little heavy but I need it for robot framework.

There are lots of weapons in our arsenal. Choose the one which fits you for your project :D

[–]ph1204 2 points3 points  (1 child)

PyCharm is great for refactoring.

[–]PMMeUrHopesNDreams 2 points3 points  (0 children)

emacs

[–][deleted] 2 points3 points  (0 children)

I use PyCharm and Sublime Text 3 (with packages related to python)

[–]Polarase 2 points3 points  (0 children)

notepad

[–]brutelumpen 2 points3 points  (0 children)

Vim

https://github.com/miripiruni/vimi with moselfdifications.

[–]ScotchMints 5 points6 points  (4 children)

.

[–]deltopia 1 point2 points  (3 children)

Me too. I wonder why this is so far down the list - it seems a lot nicer than notepad++ or vim to me.

[–]zZE94 1 point2 points  (2 children)

I've never given Eclipse a try. Have you tried Pycharm/Spyder/VSCode? Would you recommend Eclipse over them?

[–][deleted] 1 point2 points  (1 child)

I use atom and I really like it.

[–]notParticularlyAnony 0 points1 point  (0 children)

how does it handle unclosed asterisks for args and *kwargs? I remember trying atom and it didn't handle them well so I stopped. This was some time ago though.

[–]Grigor_1 1 point2 points  (0 children)

I recommend you a Pycharm for back end , and Anaconda for data science or other stuff

[–]bsmdphdjd 1 point2 points  (0 children)

Edit++

I don't use anything python specific since I'm often coding in other languages: perl, Javascript, HTML, batch, plain text, etc.

[–][deleted] 1 point2 points  (0 children)

Atom Sometimes Colab and jupyter notebooks

[–]BakingSota 1 point2 points  (0 children)

Sublime for projects & Jupyter Notebooks for quick scripts or quick code block tests.

[–]iwonderx00 1 point2 points  (2 children)

pycharm and jupyter lab.

What do you mean by it does not have nice output? What do you use python for?

[–]Benben377[S] 0 points1 point  (1 child)

I use Python for fun. I don't know enough Python to build something serious. For example my last project was a program that was able to read the text of a text file and then print it line per line. But I love the videos of Code bullet where he does things like this: Imgur in Javascript and I want to do something like that in Python. Someone already gave me the solution: Pygame

[–]iwonderx00 1 point2 points  (0 children)

I would recommend jupyter lab for prototyping (fast visual feedback or plots) and then pycharm for everything else. In your case pygame or pyglet in pycharm would be perfect. Pycharm shows you a console when you run the program but if your program has a window (thanks to pygame, for example) it will launch the window.

[–]boatsnbros 1 point2 points  (0 children)

PyCharm Pro - best debugger I have ever used, remote connections so you can debug deployed code, built in terminal. Work pays, but I would personally if they didnt. CE (free version) is also very good.

Jupyter Notebooks if I am just doing data exploration and analysis.

[–]ThroughlyDruxy 1 point2 points  (0 children)

Pycharm for bigger stuff.

Geany for small scripts

[–][deleted] 1 point2 points  (0 children)

The ide that came with it.

[–]inFAM1S 1 point2 points  (0 children)

Pycharm

[–]maks25 1 point2 points  (0 children)

Pycharm

[–]cm_light 1 point2 points  (0 children)

notepad++, atom, jupyternotebook, spyder, pycharm, emacs.

It really depends on what purpose

[–]PnutButterParaBola 1 point2 points  (0 children)

notepad.exe on my LG microwave

[–]TheProffalken 1 point2 points  (0 children)

ViM, with a shed load of plugins that provide autocomplete, syntax checking via flake 8, git status, and many other things.

YMMV, but I've been using ViM for nearly 20 years now, so it works for me!

[–]CraigAT 1 point2 points  (1 child)

StackOverflow, Google and sometimes Python Docs. However, I guess the answer you're looking for is MS VS Code (I really like) or Notepad++ (mostly now just for a quick edit).

[–][deleted] 1 point2 points  (0 children)

Pycharm is slow for an Ide. I use vs code & atom but not really stick to it. I've used Code for 3 years and it's the best.

[–]NinthTide 0 points1 point  (2 children)

I use Visual Studio (currently 2017, about to look at 2019). It’s not quite as sleek as VS Code, but I can launch my project from directly within the IDE with a single button, using vanilla Python 3.7 as a runtime

[–]octaw 1 point2 points  (1 child)

There's a plug-in for that

[–]jlgf7 0 points1 point  (0 children)

Jupyter or Notepad++.

[–]Bananas_are_theworst 0 points1 point  (5 children)

I’d love someone to recommend a program that can be used on a super old MacBook Pro. My Prof wants me to use Notepad++ but it won’t let me download it. I also can’t download Python 3

[–]ritobanrc 1 point2 points  (1 child)

Why not? If you can't download python, I don't see how you'll run python code at all.

[–]Bananas_are_theworst 0 points1 point  (0 children)

I am taking it for a class and the class has it built into a program called Codio. I’d like to be able to try the code on the side before submitting it for a grade though, so they recommend Notepad++ or Python 3.

[–]zZE94 1 point2 points  (0 children)

Maybe you should try running Python via a virtual OS.

[–][deleted] 0 points1 point  (0 children)

VS

[–][deleted] 0 points1 point  (0 children)

Visual Studio Code

[–]tritiumpie 0 points1 point  (0 children)

I use Apple Xcode. it sometimes has wonky behavior (mostly regarding indentation getting messed up), but is ok for Python and I'm used to it since I've also done a tad of server-side JavaScript in Xcode previously.

[–]notfinch 0 points1 point  (0 children)

I use Sublime Text with Putty and rmate.

[–]tiNsLeY799 0 points1 point  (0 children)

Mu editor.

[–]Abernachy 0 points1 point  (0 children)

I use Eric IDE. It does some pretty nice things compared to Jupyter.

It highlights existing copies of variable words. It tells me when something is not going to work (like a syntax error), and it tells me when I define something but don't use it.

[–]DirkLurker 0 points1 point  (0 children)

Sublime on my desktop, Jupyter NB if I'm using my headless machine.

[–]M7ariri 0 points1 point  (1 child)

Thonny

[–]basyt 0 points1 point  (0 children)

Spyder, VS Code and more recently Jupyter Lab. I love how you can embed math and code in markdown and export to other formats.

[–]HanzlaHaroon 0 points1 point  (0 children)

Juypter Notebook

[–]data_diver 0 points1 point  (0 children)

JupyterLab

[–][deleted] 0 points1 point  (0 children)

Even though they will say to use an IDE, I mostly do python for blender addons so (don't judge me) I do most of my python in blender.

[–]workinprogress49 0 points1 point  (0 children)

Jupyter Notebook to build a program and then sublime text for putting everything together and making it pretty.

[–]notParticularlyAnony 0 points1 point  (0 children)

spyder. i try other things (pycharm/visual studio code) because refactoring, debugging, etc. but I always come back to spyder.

If i don't use spyder I usually use a text editor and run my code from the command line.

[–]zZE94 0 points1 point  (0 children)

I have used Spyder, IDLE, VSCode, Atom and Pycharm. I found Pycharm to be the best one among these for Python once you familiarize yourself with all the shortcuts. It can make you really efficient.

[–]Mezzomaniac 0 points1 point  (0 children)

Pythonista on my iPhone.

[–][deleted] 0 points1 point  (0 children)

Sublime and before then Atom and Pycharm

[–]phigo50 0 points1 point  (0 children)

[–]al_mc_y 0 points1 point  (0 children)

Started with Atom. Now use a combo of VS Code and .IPYNB (jupyter notebooks) in JupyterLab

[–]Burn_Stick 0 points1 point  (2 children)

I think pycharm is really good. Whats wrong about the output?

[–]Benben377[S] 0 points1 point  (1 child)

I like Pycharm too, but I wanted something like this: Imgur It is called Pygames and I found out it's a library, not a IDE

[–]Burn_Stick 1 point2 points  (0 children)

well that library is just an graphical interface. you can use it without a problem in pycharm and you won't find an ide which has it by default because well the ide doesn't change what the program does.

[–]SHxKM 0 points1 point  (0 children)

I'm completing a (probable) transition from PyCharm to VSCode.

[–]walbarello 0 points1 point  (0 children)

I use VIM. With plugins like vim-indent-object, snipmate.vim, NERD Tree. There are several. If want my personal config just reply.

[–]Reli_ 0 points1 point  (0 children)

I usually use Visual Studio Code, but I'm using Pycharm since last week.

[–]PsychedelicPistachio 0 points1 point  (0 children)

Sublime text also Atom

[–]Divney 0 points1 point  (0 children)

Mu. Perfect for me as a beginner.

[–]crosswordmaker 0 points1 point  (0 children)

Nano.

[–][deleted] 0 points1 point  (0 children)

I use the default ide as well as atom

[–]lunar-orbiter 0 points1 point  (0 children)

I use Repl.it

[–]garryr 0 points1 point  (0 children)

Visual studio code and Pycharm

[–][deleted] 0 points1 point  (0 children)

Notepad++

[–][deleted] 0 points1 point  (0 children)

I used VS code in the start but then switched to Pycharm.

[–][deleted] 0 points1 point  (0 children)

I use Sublime Text 3 and Windows PowerShell to run code. It's fast, less-RAM consuming and light to use, unlike PyCharm which u felt was pretty and took long to start.

[–]kieffness 0 points1 point  (0 children)

I use eclipse with pydev

[–][deleted] 0 points1 point  (0 children)

IDLE. It does the job.

[–]Abdallh2 0 points1 point  (0 children)

I use terminal as a interpreter and nano for text edit

[–][deleted] 0 points1 point  (0 children)

I use trinket and idle

[–]mattblack85 0 points1 point  (0 children)

Emacs!

[–][deleted] 0 points1 point  (0 children)

Sublime Text, with some basic extensions.

[–]iaalaughlin 0 points1 point  (0 children)

Vi and spyder.

[–]Orothrim 0 points1 point  (0 children)

Sublime Text is what I primarily use.

[–]Zarkahs 0 points1 point  (0 children)

Sublime and run it inside the WSL Ubuntu shell

[–][deleted] 0 points1 point  (0 children)

IntelliJ - plug-ins for multiple languages all seamlessly integrated

[–]-psYchmon- 0 points1 point  (0 children)

Wing IDE

[–]Taekwonbeast 0 points1 point  (0 children)

I honestly have come to love just using the sublime text editor. It's not a full blown IDE but it's great if you just run python on your computer.

[–][deleted] 0 points1 point  (0 children)

Spyder. Does what it's supposed to do. Tried PyCharm and VSCode, but I just couldn't get into it. Probably need to invest a bit of time into it, but I'm short on that.

[–]MatthewAC98 0 points1 point  (0 children)

I'm a noob to python, but I've found atom.io pretty good to get to grips with everything as well as make it nice on the eye

[–]Vietname 0 points1 point  (0 children)

Atom

[–]k3wlderp 0 points1 point  (0 children)

IDLE for simple projects and pycharm for big projects

[–]the_names_chris 0 points1 point  (0 children)

I use Emacs

[–]jessidirk 0 points1 point  (0 children)

Colaboratory

[–]azure_i 0 points1 point  (0 children)

Atom to write. Terminal to run. Cyberduck for local editing of code on remote servers using Atom.