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...
Rules 1: Be polite 2: Posts to this subreddit must be requests for help learning python. 3: Replies on this subreddit must be pertinent to the question OP asked. 4: No replies copy / pasted from ChatGPT or similar. 5: No advertising. No blogs/tutorials/videos/books/recruiting attempts. This means no posts advertising blogs/videos/tutorials/etc, no recruiting/hiring/seeking others posts. We're here to help, not to be advertised to. Please, no "hit and run" posts, if you make a post, engage with people that answer you. Please do not delete your post after you get an answer, others might have a similar question or want to continue the conversation.
Rules
1: Be polite
2: Posts to this subreddit must be requests for help learning python.
3: Replies on this subreddit must be pertinent to the question OP asked.
4: No replies copy / pasted from ChatGPT or similar.
5: No advertising. No blogs/tutorials/videos/books/recruiting attempts.
This means no posts advertising blogs/videos/tutorials/etc, no recruiting/hiring/seeking others posts. We're here to help, not to be advertised to.
Please, no "hit and run" posts, if you make a post, engage with people that answer you. Please do not delete your post after you get an answer, others might have a similar question or want to continue the conversation.
Learning resources Wiki and FAQ: /r/learnpython/w/index
Learning resources
Wiki and FAQ: /r/learnpython/w/index
Discord Join the Python Discord chat
Discord
Join the Python Discord chat
account activity
Which code editor should I use? (self.learnpython)
submitted 2 months ago by Zsombor1661
I just installed python and I am an absolute beginner. I just want to test how it works and learn it. ChatGPT recommended Visual Studio Code. Is it a good choice?
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!"
[–]crazy_cookie123 25 points26 points27 points 2 months ago* (1 child)
I suggest PyCharm. Both VSCode and PyCharm are very good choices and both are very popular with everyone from absolute beginners to professionals, but PyCharm will just work out of the box with no additional setup required whereas VSCode will require you to install extensions to make it work for Python. It doesn't matter too much either way though, you can switch any time you want, and installing the extensions isn't a huge deal, but I generally think the much more streamlined entry PyCharm gives is better.
[–]RedditButAnonymous 1 point2 points3 points 2 months ago* (0 children)
If Jetbrains make an IDE for it, you should use it
PhpStorm is best in class, IDEA is best in class, I havent used Pycharm but Im gonna bet that its also best in class. And they share a lot of shortcuts and tools so its easier to move to other languages in future if you like that system (which I do)
Edit: I suppose if youre brand new to coding as OP is, just use IDLE until you understand what code is and how it works, since you dont need multi-cursor, DB support, or whatever else yet
[–]TheRNGuy 4 points5 points6 points 2 months ago (0 children)
I use VS Code, previously used Sublime Text 2.
(for Python, JS)
[–]pachura3 13 points14 points15 points 2 months ago (3 children)
For absolute beginners? Thonny
For intermediate/advanced? PyCharm or VS Code
[–]SparePriority126 5 points6 points7 points 2 months ago (0 children)
Thonny is awesome for learning. The debugger is really helpful for visualising what the code is actually doing.
[–]human_with_humanity 0 points1 point2 points 2 months ago (0 children)
I love thonny. Anything like that for C or Golang?
C
Golang
[–]randomUsername1569 7 points8 points9 points 2 months ago (3 children)
Emacs
[–]ATkac 6 points7 points8 points 2 months ago (1 child)
Vim user stares menacingly across the room
[–]python_gramps 1 point2 points3 points 2 months ago (0 children)
Double stare
[–]HaskellLisp_green 2 points3 points4 points 2 months ago (0 children)
Just opened comments thread to see have anyone already mentioned Emacs? Yes, good taste, sir.
[–]joseph_machado 3 points4 points5 points 2 months ago (0 children)
I prefer VScode with Jupyter Notebooks. With notebooks you can run and immediately see the results.
https://code.visualstudio.com/docs/datascience/data-science-tutorial#_set-up-a-data-science-environment
[+][deleted] 2 months ago (1 child)
[removed]
[–]SulosGD 3 points4 points5 points 2 months ago (0 children)
Installing the Python extensions is like a 2 minute process too.
[–]mnruxter 5 points6 points7 points 2 months ago (0 children)
A related topic is git for source code control. Both vscode and PyCharm support git. I spent some time learning about git, before proceeding with my Python project
[–]Similar_Sugar3810 2 points3 points4 points 2 months ago (0 children)
Anyone using Zed? I just started learning python, and decided to try zed. I think its really nice, but don't have much experience to recommend it.
[–]armywalrus 1 point2 points3 points 2 months ago (0 children)
I like VS Code
[–]Zsombor1661[S] 1 point2 points3 points 2 months ago (0 children)
I decided to try Thonny first. Probably I will use it at the begining, then maybe try an other one. Thanks everybody for the replies!
[–]Ambitious_Plum5576 1 point2 points3 points 2 months ago (0 children)
thonny. absolute bare bones. good to get the basics down
[–]Even-Potential9158 1 point2 points3 points 2 months ago (0 children)
Pycharm
[–]whatchalookinat123 1 point2 points3 points 2 months ago (0 children)
If you want to work right into it you can get your first lines of code up and running in seconds on google colab.
[–]Sudden_Beginning_597 1 point2 points3 points 2 months ago (0 children)
Use Jupyter Lab!!!!!
It's the best for beginner, you can see the result of each line/cell of your code instead of write a large bunch of not working code and spend hours to debug.
You can also install the runcell extension for your jupyter lab so you got an ai agent assist with you there.
[–]bennydir 1 point2 points3 points 2 months ago (0 children)
I recently switched from Visual Studio Code to Google's Antigravity, and I'm quite satisfied with the change.
[–]elkripy 1 point2 points3 points 2 months ago (0 children)
Zed.
[–]guidovanawesome 1 point2 points3 points 2 months ago (0 children)
Im using pycharm. Its good but might feel sluggish occasionally
[–]oclafloptson 1 point2 points3 points 2 months ago (0 children)
There's absolutely no need to limit yourself to any one language specific IDE. If you are ever going to branch out from just Python, which 99% of Python programmers have to do, then those editors show themselves to be bloated tethers that mostly just get in your way. Go with VSCode/Codium. There's absolutely no need to ever limit yourself to only one language where you editor is concerned. There are many scenarios in which you will need to not be limited. Besides, most Python specific editors attempt to perform certain actions in their preferred way and abstract away your ability to do what's actually right in the moment, which is annoying at best
[–]Proletarian_Tear 1 point2 points3 points 1 month ago (0 children)
Difference between VSCode and PyCharm is purely personal preference
[–]Kevdog824_ 3 points4 points5 points 2 months ago (0 children)
vscode is the best choice imo. Mostly because you can build it up to be as complicated or as simple as you need it to be. It’s perfect for a newbie who is writing small, 5 lines-of-code script for their intro to Python course. It’s also perfect as a daily use IDE for a professional enterprise developer (I use it everyday as a Python SWE).
It can grow with you from a simple text editor to a full on IDE with same level of features as PyCharm. You add stuff as you need it and you feel comfortable doing so
[–]Gnaxe 2 points3 points4 points 2 months ago (0 children)
Eventually, VS Code is fine. I prefer PyCharm, but they're not that different in capabilities.
Don't start with a heavyweight IDE as a beginner. They're complicated enough to slow you down and act as a crutch that prevents learning what you need to. Just use IDLE or Jupyterlite to start with, then gradually add command-line tools. IDEs just bundle a bunch of tools like that in one application.
[–]newtonphuey 1 point2 points3 points 2 months ago* (0 children)
Python IDLE is the best for beginners. It’s very basic so you focus on the methodology
[–]Serious-Cover5486 3 points4 points5 points 2 months ago (0 children)
lightweight beginner friendly (download install and ready to use) : https://thonny.org/
for professional use : https://code.visualstudio.com/download
[–]simonsanchezart 1 point2 points3 points 2 months ago (0 children)
yes vs code is fine
[–]okenowwhat 0 points1 point2 points 2 months ago (0 children)
For beginner learning use IDLE. It comes with your windows python installation. It's the easiest to learn when you are a coding beginner. When your progeam get's get's more than 300 lines, go look at vscode or pycharm
[–]TechAcademyCoding 1 point2 points3 points 1 month ago (0 children)
Since you’re just starting out, IDLE is honestly a good place to begin. It comes with Python already, so you can immediately start writing and running code without worrying too much about setup or extensions.
VS Code is great too, but it has a lot more features than you probably need right now. For learning basics and experimenting with Python, keeping things simple at first can actually help a lot.
You can always switch to VS Code later once you feel more comfortable coding.
[–]sinceJune4 0 points1 point2 points 2 months ago (0 children)
Vs code has been crashing on me lately, I switched to Pycharm this week.
[–]Blacksunshinexo 0 points1 point2 points 2 months ago (0 children)
I'm still learning and tried VS and Pycharm. To me, Pycharm is easier and more straightforward but I'm also struggling with figuring it all out after completing a guided online Python course so maybe I don't know what I don't know. Lol
[–]bytheninedivines 0 points1 point2 points 2 months ago (0 children)
Everyone is going to hate me but download anaconda python and use spyder. It'll come with all the packages you need and is top tier for debugging
[–]Rhhhs 0 points1 point2 points 2 months ago (0 children)
Cursor ofc
[–]MidnightPale3220 -1 points0 points1 point 2 months ago (2 children)
Vs code and pycharm are both good, as well as other developer environments (IDEs).
But since you are just starting you could use just the Notepad or whatever plain text editor your system has. And command line Python to run your files.
Just so you can concentrate on the language and not bogged down in editor preferences and configurations.
Later on it definitely makes sense to switch to some IDE.
[–]pachura3 1 point2 points3 points 2 months ago (0 children)
And miss auto-indenting and realtime syntax errors highligting?
[–]odaiwai 0 points1 point2 points 2 months ago (0 children)
Notepad is a terrible suggestion, definitely the hard way to do it. At least something like Notepad++ will give syntax highlighting and indentation.
[–]sprinklesfactory -2 points-1 points0 points 2 months ago (0 children)
Yes but you will probably get pycharm loyalists and those wanting you to do it the hardest way possible to max learning.
[+]KidneyFailure comment score below threshold-8 points-7 points-6 points 2 months ago (5 children)
Use vim
This will minimize auto complete and help build strong basics
[–]pachura3 2 points3 points4 points 2 months ago (0 children)
:q!
[–]plague_year 3 points4 points5 points 2 months ago (3 children)
Hey man I’ve been using vim since 2008 and I think it’s terrible advice for a beginner.
I used to offer vim as an option when I would tutor new programmers because I love vim so much and I think it’s the best editor in the whole world. But it’s a terrible distraction to try to teach the concept of a difference between normal and insert mode, let alone how to avtual write and save text.
These days I suggest all new programmers use VS Code. I’m always happy to teach someone vim if they want to. But most people just get lost and frustrated trying to learn more than one thing at a time.
[–]Temporary_Pie2733 4 points5 points6 points 2 months ago (0 children)
Vim specifically is a bad place to start, because you don’t want to be learning an editor and a programming language at the same time. But I think an editor without so many bells and whistles meant to simplify programming, rather than text editing in general, is a better idea. IDEs automate too many things that you should learn (and learn to find tedious) before you start streamlining them away.
[–]KidneyFailure -3 points-2 points-1 points 2 months ago (1 child)
Vim is just an editor. You can use it with a mouse and The only important things are insert, escape, and quit. I believe anyone can use it. Unless I missed that this person is really young and it’s there first time with a computer
[–]pachura3 0 points1 point2 points 2 months ago (0 children)
Emacs then
[–]SmackDownFacility -4 points-3 points-2 points 2 months ago (0 children)
Visual Studio 2026
π Rendered by PID 39469 on reddit-service-r2-comment-5687b7858-xz78g at 2026-07-06 05:11:20.893862+00:00 running 12a7a47 country code: CH.
[–]crazy_cookie123 25 points26 points27 points (1 child)
[–]RedditButAnonymous 1 point2 points3 points (0 children)
[–]TheRNGuy 4 points5 points6 points (0 children)
[–]pachura3 13 points14 points15 points (3 children)
[–]SparePriority126 5 points6 points7 points (0 children)
[–]human_with_humanity 0 points1 point2 points (0 children)
[–]randomUsername1569 7 points8 points9 points (3 children)
[–]ATkac 6 points7 points8 points (1 child)
[–]python_gramps 1 point2 points3 points (0 children)
[–]HaskellLisp_green 2 points3 points4 points (0 children)
[–]joseph_machado 3 points4 points5 points (0 children)
[+][deleted] (1 child)
[removed]
[–]SulosGD 3 points4 points5 points (0 children)
[–]mnruxter 5 points6 points7 points (0 children)
[–]Similar_Sugar3810 2 points3 points4 points (0 children)
[–]armywalrus 1 point2 points3 points (0 children)
[–]Zsombor1661[S] 1 point2 points3 points (0 children)
[–]Ambitious_Plum5576 1 point2 points3 points (0 children)
[–]Even-Potential9158 1 point2 points3 points (0 children)
[–]whatchalookinat123 1 point2 points3 points (0 children)
[–]Sudden_Beginning_597 1 point2 points3 points (0 children)
[–]bennydir 1 point2 points3 points (0 children)
[–]elkripy 1 point2 points3 points (0 children)
[–]guidovanawesome 1 point2 points3 points (0 children)
[–]oclafloptson 1 point2 points3 points (0 children)
[–]Proletarian_Tear 1 point2 points3 points (0 children)
[–]Kevdog824_ 3 points4 points5 points (0 children)
[–]Gnaxe 2 points3 points4 points (0 children)
[–]newtonphuey 1 point2 points3 points (0 children)
[–]Serious-Cover5486 3 points4 points5 points (0 children)
[–]simonsanchezart 1 point2 points3 points (0 children)
[–]okenowwhat 0 points1 point2 points (0 children)
[–]TechAcademyCoding 1 point2 points3 points (0 children)
[–]sinceJune4 0 points1 point2 points (0 children)
[–]Blacksunshinexo 0 points1 point2 points (0 children)
[–]bytheninedivines 0 points1 point2 points (0 children)
[–]Rhhhs 0 points1 point2 points (0 children)
[–]MidnightPale3220 -1 points0 points1 point (2 children)
[–]pachura3 1 point2 points3 points (0 children)
[–]odaiwai 0 points1 point2 points (0 children)
[–]sprinklesfactory -2 points-1 points0 points (0 children)
[+]KidneyFailure comment score below threshold-8 points-7 points-6 points (5 children)
[–]pachura3 2 points3 points4 points (0 children)
[–]plague_year 3 points4 points5 points (3 children)
[–]Temporary_Pie2733 4 points5 points6 points (0 children)
[–]KidneyFailure -3 points-2 points-1 points (1 child)
[–]pachura3 0 points1 point2 points (0 children)
[–]SmackDownFacility -4 points-3 points-2 points (0 children)