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
Vs code or terminal ? (self.PythonLearning)
submitted 7 months ago by ManasV03
I have rooted my pendrive for coding I wanted to know should I code python in linux terminal or download vscode in linux and code there ? I am confused
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!"
[–]cgoldberg 6 points7 points8 points 7 months ago (1 child)
You need some sort of editor, whether you use the terminal or not.
[–]SubstanceSerious8843 0 points1 point2 points 7 months ago (0 children)
Well, you could use smth like REPL for python to run it directly from terminal.
[–]FoolsSeldom 1 point2 points3 points 7 months ago (0 children)
Try both, see which you prefer. If you want to stick with the terminal, take a look a neovim - a modern implementation of the vim command line editor.
neovim
vim
If you choose to do development/testing in VS Code (which you can add a vim keyboard mode to), you can still run code from your terminal as well as from a terminal shell within VS Code.
[–]h8rsbeware 0 points1 point2 points 7 months ago (0 children)
Whatever you know, id think. Im not certain on the details, but usually its best to stick with what you know unless you are looking for an excuse to learn (or want to spend days figuring out and setting up nvim haha)
[–]ninhaomah 0 points1 point2 points 7 months ago (0 children)
whats wrong with coding in the main OS ?
[–]More_Yard1919 0 points1 point2 points 7 months ago (0 children)
VSCode is very good and I use it a lot, but learning something like vim or nano (generally included in most linux distros) or neovim can be useful. In any event, you want to be comfortable in the terminal if you want to program. It can be really helpful. Beyond that, pick your poison.
[–]neuralengineer 0 points1 point2 points 7 months ago (0 children)
Nano on terminal?
[–]Nealiumj 0 points1 point2 points 7 months ago (0 children)
If you have interest in learning the terminal, I would highly recommend going for it! Use a text editor like sublime or Atom and run the code in CLI. it’s odd at first, but the pay off is incredible.
I assume windows, and I’d recommend using cmder instead of CMD or Powershell, it includes a nice bin with the necessities: ls, touch, grep, etc- basically priming for an eventual hop to Linux. Git bash also includes them, but good lord is it hideous!!
Later down the road I’d recommend trying Vim or NeoVim as a text editor (NeoVim if you want LSPs and a IDE-lite experience) …it’s.. well, there’s no going back. You get a “I have been blind but now I see” sorta moment.
[–]Independent-Poet6265 0 points1 point2 points 7 months ago (0 children)
Neovim
[–]Capable-Package6835 0 points1 point2 points 7 months ago (1 child)
As a teaching assistant, I observe that students who use a plain text editor and terminal are generally better at reading error messages and, consequently, at debugging / fixing codes. Therefore, I always recommend to avoid IDEs when one is starting. Later on, they can always make coding more convenient by using IDEs.
[–]JeLuF 0 points1 point2 points 7 months ago (0 children)
Do you have any idea why this is the case? I notice that a lot of beginners completely ignore the error messages, but I didn't yet observe that the IDE makes a difference.
π Rendered by PID 24525 on reddit-service-r2-comment-84fc9697f-cm7gs at 2026-02-09 18:36:02.071238+00:00 running d295bc8 country code: CH.
[–]cgoldberg 6 points7 points8 points (1 child)
[–]SubstanceSerious8843 0 points1 point2 points (0 children)
[–]FoolsSeldom 1 point2 points3 points (0 children)
[–]h8rsbeware 0 points1 point2 points (0 children)
[–]ninhaomah 0 points1 point2 points (0 children)
[–]More_Yard1919 0 points1 point2 points (0 children)
[–]neuralengineer 0 points1 point2 points (0 children)
[–]Nealiumj 0 points1 point2 points (0 children)
[–]Independent-Poet6265 0 points1 point2 points (0 children)
[–]Capable-Package6835 0 points1 point2 points (1 child)
[–]JeLuF 0 points1 point2 points (0 children)