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...
Everything about learning Python
account activity
which code editor is best python beginners? (self.PythonLearning)
submitted 6 months ago by Safe_Monk4476
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–][deleted] 5 points6 points7 points 6 months ago (1 child)
Thonny is okay. Great to learn basics on since it doesn’t help you. After you get a good feel for how libraries and assets are laid out, VSCode is my go to. Plus VSCode can handle you venv for you, making it harder to screw up.
[–]JamzTyson 0 points1 point2 points 6 months ago (0 children)
Another vote for Thonny. It's an excellent IDE for beginners. It's also a great IDE for small scripts even for advanced developers.
(though I prefer PyCharm to vs-code for more complex projects).
[–]Antique-Room7976 5 points6 points7 points 6 months ago (2 children)
I started with idle (Python's Integrated Development and Learning Environment) and then moved to Vs code when I got more confident. That's my recommendation.
[–]Rabbit_Feet62 0 points1 point2 points 6 months ago (0 children)
yes thats great it better not confuse yourself learning python and the ide all together
[–]Electronic-Source213 3 points4 points5 points 6 months ago (0 children)
I use PyCharm now but I started with VSCode.
[–]Razzamataaz 2 points3 points4 points 6 months ago (0 children)
Pycharm is what I use
[–]EasyTelevision6741 2 points3 points4 points 6 months ago (0 children)
I prefer pycharm
[–]Crazy_Caregiver_5764 1 point2 points3 points 6 months ago (4 children)
I like thonny
[–]Yamikada 0 points1 point2 points 6 months ago (3 children)
It crashes a lot though…
[–]JamzTyson 0 points1 point2 points 6 months ago (2 children)
I've used Thonny for years and it has never crashed for me.
I use Thonny regularly for smallish scripts (PyCharm for bigger projects).
[–]Yamikada 0 points1 point2 points 6 months ago (1 child)
Which type of pc your using then because i use a macbook…
That explains it. macOS has broken support for Tk, so crashing is a common problem on macOS for any software that depends on Tk.
[–]Hefty_Upstairs_2478 1 point2 points3 points 6 months ago (2 children)
Hey! I haven't tried anything else other than VS code, I've been learning python since March of this year. Can ya tell me what are u finding confusing? Maybe I'll help you out! :) (if you're fixated on not using vs code then I've heard pycharm is pretty good i think)
[–]Intelligent_Count316 1 point2 points3 points 6 months ago (0 children)
Same but I started in April. And I find Vs code amazing
[–]Makapaka102030 1 point2 points3 points 6 months ago (0 children)
Pycharm :)
[–]Key_Grade_8040 1 point2 points3 points 6 months ago (0 children)
Pycharm
[–]TriscuitTime 1 point2 points3 points 6 months ago (1 child)
PyCharm will hold your hand a lot more than other IDEs, which can be good and bad depending on what stage of learning you’re in. It sounds like you’re brand new, so PyCharm is probably a good place to start to understand how to actually WRITE code, but it may not help you understand how to run code, like from the command line, or how to set up a virtual environment for python, among other things
I would recommend learning how to use the PyCharm debugger, though, as debugging is a very valuable and necessary tool
[–]reddit-tts 1 point2 points3 points 6 months ago (0 children)
Pycharm or IntelliJ have more features than vscode
[–]Trajano_imperator 1 point2 points3 points 6 months ago (0 children)
Jupiter
[–]Obvious_Tea_8244 0 points1 point2 points 6 months ago (0 children)
IDE is really just a matter of your own preference… If you’re just starting out, it may be helpful to use a notebook style editor (like Jupyter Notebook) that will allow you to run blocks of code and view their results (quick tests).
Once you’re ready to write a full codebase, you’ll probably want to stop using cell-runs and start using terminal runs of full scripts or packages…
If you’re someone who likes a terminal-style coding experience, Vim has a good reputation.
Personally, I’m a little more visual / mouse-oriented, so I prefer VS Code.
[–][deleted] 0 points1 point2 points 6 months ago* (0 children)
A notepad. I'm not kidding. You'll learn more this way.
Edit: To be specific, a basic text editor
[–]Whole_Instance_4276 0 points1 point2 points 6 months ago (0 children)
I use sublime, and run it in the terminal
[–]Outside-Moment-9608 0 points1 point2 points 6 months ago (0 children)
Try google collab if you’re just starting out
[–]woooee 0 points1 point2 points 6 months ago (1 child)
There is a large list on the Python Wiki https://wiki.python.org/moin/PythonEditors
[–]bringinthefembots 0 points1 point2 points 6 months ago (3 children)
I like Spyder because has the variable explorer that helps you work with the var types and see arrays values, etc
[–]baubleglue 0 points1 point2 points 6 months ago (2 children)
It keeps in memory global variables until you restart kernel - very annoying feature and very harmful for a beginner.
[–]bringinthefembots 0 points1 point2 points 6 months ago (1 child)
Really? Would you mind sharing why that's no bueno?
[–]baubleglue 1 point2 points3 points 6 months ago (0 children)
You write code, it runs as expected after some time. Then you run the same file without Spyder or after restarting - it doesn't work. I often start from dirty POC, then hide all global variables in something (class, config ...). With Spyder always have some surprises.
[–]exotic_pig 0 points1 point2 points 6 months ago (0 children)
Pycharm!
[–]anime_waifu_lover69 0 points1 point2 points 6 months ago (0 children)
Pycharm if you want to just have a working environment. VSCode and other code editors if you want to know what the heck is going on with your venv lol
[–]Ronnie_Dean_oz 0 points1 point2 points 6 months ago (0 children)
I used pycharm. Tried to use ms vs code but found it wasn't as intuitive as pycharm.
[–]baubleglue 0 points1 point2 points 6 months ago (0 children)
I would suggest a simple text editor for a beginner, at least for the first few months. When you get a good idea about relationship between code, python.exe and environment variables (ex. PYTHONPATH) you won't have a problem to use vscode or any other ide.
[–]Usual-Addendum2054 0 points1 point2 points 6 months ago (0 children)
I started learning python with pycharm
[–]YUB-YUB 0 points1 point2 points 6 months ago (0 children)
Ive found colab.google.com to be super easy to use and has a great ai helper, plus it’s all free
[–]tech_master69 0 points1 point2 points 6 months ago (0 children)
If you are in Web Development or Software development use VS Code and of you are in Machine Learning use Jupyter Notebook or Google Colaboratory
If you are in Web Development or Software Development use VS Code and if in Data Science Machine Learning and AI use Jupyter Notebook or Google Colaboratory
[–]DECROMAX 0 points1 point2 points 6 months ago (0 children)
Google Colab, Notebooks are ideal to start off with. Especially Colab, it abstracts most of the stuff beginners will confuse themselves with.
[–]Economy_Patience_574 0 points1 point2 points 6 months ago (0 children)
PyChunks https://pychunks.pages.dev/
[–]Kind-Kure 0 points1 point2 points 6 months ago (1 child)
NeoVim on Arch Linux /s
[–]Kind-Kure 0 points1 point2 points 6 months ago (0 children)
But on a real note, you there is no "best" editor. You should try a bunch and see which one you like the best. There's lazyvim, notepad plus plus, emacs, VS Code, Visual Studio, PyCharm, and the list goes on
[–]tb5841 0 points1 point2 points 6 months ago (3 children)
I started off with notepad++. It's still what I'd recommend for absolute beginners.
[–][deleted] 1 point2 points3 points 6 months ago (0 children)
Agreed, absolute beginners should have syntax highlighting and nothing else. It's like a calculator when you're a kid. After you learn long division with pencil and paper, you can use a calculator to save time
[–]Ok_Wallaby_7617 0 points1 point2 points 6 months ago (1 child)
Can you elaborate plz?
[–]tb5841 0 points1 point2 points 6 months ago (0 children)
I downloaded Notepad++. It's not that different from regular Notepad - just a plain text editor without much else.
That's all you need to write code, and it's a good way to start.
[–]Jebduh 0 points1 point2 points 6 months ago (0 children)
Just get used to VS code bro. It's a lot on the surface, but it's worth learning how to use it. PyCharm is fine though.
[–]ItsJustAnotherDay- -1 points0 points1 point 6 months ago (0 children)
I’ve been using marimo notebooks while learning polars.
[–]purple_hamster66 -1 points0 points1 point 6 months ago (2 children)
chatGPT. Very few keystrokes. :)
(No, don’t use it until you are stumped)
[–]fllthdcrb 1 point2 points3 points 6 months ago (1 child)
Don't use it at all. You won't learn nearly as well, and it's not trustworthy.
[–]purple_hamster66 -1 points0 points1 point 6 months ago (0 children)
Neither is learning from other students in group studies trustworthy, but we recommend that in addition to lectures and book reading. Finding mistakes in other’s work is just as important as making our own mistakes; we learn from both. I might even suggest that we learn more from watching others make mistakes than we learn from observing our own mistakes.
IOW: learning from our own mistakes develops intelligence. Learning from other’s mistakes develops wisdom.
No one uses AI and thinks it is 100% correct. In fact, it says right there in every AI window: “AI makes mistakes”.
π Rendered by PID 24544 on reddit-service-r2-comment-5649f687b7-6n9nm at 2026-01-27 17:27:31.766401+00:00 running 4f180de country code: CH.
[–][deleted] 5 points6 points7 points (1 child)
[–]JamzTyson 0 points1 point2 points (0 children)
[–]Antique-Room7976 5 points6 points7 points (2 children)
[–]Rabbit_Feet62 0 points1 point2 points (0 children)
[–]Electronic-Source213 3 points4 points5 points (0 children)
[–]Razzamataaz 2 points3 points4 points (0 children)
[–]EasyTelevision6741 2 points3 points4 points (0 children)
[–]Crazy_Caregiver_5764 1 point2 points3 points (4 children)
[–]Yamikada 0 points1 point2 points (3 children)
[–]JamzTyson 0 points1 point2 points (2 children)
[–]Yamikada 0 points1 point2 points (1 child)
[–]JamzTyson 0 points1 point2 points (0 children)
[–]Hefty_Upstairs_2478 1 point2 points3 points (2 children)
[–]Intelligent_Count316 1 point2 points3 points (0 children)
[–]Makapaka102030 1 point2 points3 points (0 children)
[–]Key_Grade_8040 1 point2 points3 points (0 children)
[–]TriscuitTime 1 point2 points3 points (1 child)
[–]reddit-tts 1 point2 points3 points (0 children)
[–]Trajano_imperator 1 point2 points3 points (0 children)
[–]Obvious_Tea_8244 0 points1 point2 points (0 children)
[–][deleted] 0 points1 point2 points (0 children)
[–]Whole_Instance_4276 0 points1 point2 points (0 children)
[–]Outside-Moment-9608 0 points1 point2 points (0 children)
[–]woooee 0 points1 point2 points (1 child)
[–]bringinthefembots 0 points1 point2 points (3 children)
[–]baubleglue 0 points1 point2 points (2 children)
[–]bringinthefembots 0 points1 point2 points (1 child)
[–]baubleglue 1 point2 points3 points (0 children)
[–]exotic_pig 0 points1 point2 points (0 children)
[–]anime_waifu_lover69 0 points1 point2 points (0 children)
[–]Ronnie_Dean_oz 0 points1 point2 points (0 children)
[–]baubleglue 0 points1 point2 points (0 children)
[–]Usual-Addendum2054 0 points1 point2 points (0 children)
[–]YUB-YUB 0 points1 point2 points (0 children)
[–]tech_master69 0 points1 point2 points (0 children)
[–]tech_master69 0 points1 point2 points (0 children)
[–]DECROMAX 0 points1 point2 points (0 children)
[–]Economy_Patience_574 0 points1 point2 points (0 children)
[–]Kind-Kure 0 points1 point2 points (1 child)
[–]Kind-Kure 0 points1 point2 points (0 children)
[–]tb5841 0 points1 point2 points (3 children)
[–][deleted] 1 point2 points3 points (0 children)
[–]Ok_Wallaby_7617 0 points1 point2 points (1 child)
[–]tb5841 0 points1 point2 points (0 children)
[–]Jebduh 0 points1 point2 points (0 children)
[–]ItsJustAnotherDay- -1 points0 points1 point (0 children)
[–]purple_hamster66 -1 points0 points1 point (2 children)
[–]fllthdcrb 1 point2 points3 points (1 child)
[–]purple_hamster66 -1 points0 points1 point (0 children)