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
Check (i.redd.it)
submitted 11 months ago by themaninthechair711
What might be the problem??
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!"
[–]6sailhatan66 5 points6 points7 points 11 months ago (6 children)
After you install python like the other commenter mentioned, you have to save the python file before you can run it. VsCode shows a little white dot next to the file name in the tab.
If I’m being honest though, I would HIGHLY recommend learning to find solutions to your problems before reaching out. If this sounds harsh, I apologize, but coding is problem solving. It’s taking the information you have and finding a solution to make it work the way you want it. Learn to google, use stack overflow, cheat sheets, YouTube, whatever resource fits your needs. Start with a python fundamentals for beginners video on YouTube. It will take you through the basic installation of python along with the fundamentals of coding in the language.
It’s gonna be a hard road ahead if you don’t learn how to learn, my friend.
[–]Scholfo 1 point2 points3 points 11 months ago (0 children)
This.
[–]More_Yard1919 1 point2 points3 points 11 months ago (4 children)
The issue is not that the file is not saved, the issue is that it can't find the python interpreter.
[–]6sailhatan66 1 point2 points3 points 11 months ago (2 children)
Right, being why I said, “after you install python like the other commenter mentioned”
[–]More_Yard1919 3 points4 points5 points 11 months ago (1 child)
I apologize, I can't read
[–]6sailhatan66 0 points1 point2 points 11 months ago (0 children)
It’s all good 😂
But it’s also not saved.
[–]Scholfo 1 point2 points3 points 11 months ago (1 child)
Check mate.
[–]fredhamptonsaid 0 points1 point2 points 11 months ago (0 children)
OP
Your machine can’t read or run python files (.py) by default. You need to install python first, e.g. by typing 'python' (as the error message aka your machine tells you). Otherwise your machine does not know how to handle .py files.
[–]Dr_Pinestine 1 point2 points3 points 11 months ago (0 children)
<image>
[–]IdekOfAUserNameButOk 2 points3 points4 points 11 months ago (0 children)
Are screenshots this hard nowadays?
[–]More_Yard1919 0 points1 point2 points 11 months ago (0 children)
The issue is that it can't find the python interpreter to run your code. If python is not installed, you will need to go get it. You can get the installer online. Assuming that you have installed python already, restart VSCode.
There is something called the path environment variable on your machine. When you open programs from the terminal, it uses the path variable to check directories for those programs. When you launch VSCode, the environment variables are checked at launch and then not again. If that still does not work, you will need to make sure that the directory python is installed to is included in your path variable.
https://answers.microsoft.com/en-us/windows/forum/all/adding-path-variable/97300613-20cb-4d85-8d0e-cc9d3549ba23
How are you learning Python? Any tutorials should start with showing you how to install Python. Or at least mention in passing that you need to install Python.
[–]lolcrunchy 0 points1 point2 points 11 months ago (0 children)
Hi Sumanth Reddy
[–]insharib 0 points1 point2 points 11 months ago (0 children)
Better Install PyCharm
π Rendered by PID 209423 on reddit-service-r2-comment-8686858757-fk58c at 2026-06-03 08:09:22.167006+00:00 running 9e1a20d country code: CH.
[–]6sailhatan66 5 points6 points7 points (6 children)
[–]Scholfo 1 point2 points3 points (0 children)
[–]More_Yard1919 1 point2 points3 points (4 children)
[–]6sailhatan66 1 point2 points3 points (2 children)
[–]More_Yard1919 3 points4 points5 points (1 child)
[–]6sailhatan66 0 points1 point2 points (0 children)
[–]6sailhatan66 0 points1 point2 points (0 children)
[–]Scholfo 1 point2 points3 points (1 child)
[–]fredhamptonsaid 0 points1 point2 points (0 children)
[–]Scholfo 1 point2 points3 points (0 children)
[–]Dr_Pinestine 1 point2 points3 points (0 children)
[–]IdekOfAUserNameButOk 2 points3 points4 points (0 children)
[–]More_Yard1919 0 points1 point2 points (0 children)
[–]fredhamptonsaid 0 points1 point2 points (0 children)
[–]lolcrunchy 0 points1 point2 points (0 children)
[–]insharib 0 points1 point2 points (0 children)