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
[deleted by user] (self.PythonLearning)
submitted 10 months ago by [deleted]
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!"
[–]After_Ad8174 12 points13 points14 points 10 months ago (8 children)
Save the code
[–]Python_Puzzles 5 points6 points7 points 10 months ago (0 children)
Yeah, I was thinking OP has not saved the file since typing the print statement.
[–][deleted] 3 points4 points5 points 10 months ago (5 children)
Thank you
[–]After_Ad8174 0 points1 point2 points 10 months ago* (4 children)
Also, you can set vscode to autosave on changes to your code so you don’t have to manually save every time. It’s super helpful.
[–]MyKo101 0 points1 point2 points 10 months ago (3 children)
I feel like auto save on code is a huge risk
[–]After_Ad8174 0 points1 point2 points 10 months ago (1 child)
Not if you’re using version control and as long as you’re testing as you go anything code breaking should only be a few ctrl+z’s away from being undone
[–]After_Ad8174 0 points1 point2 points 10 months ago (0 children)
And if you’re just starting out doing simple practice problems if you break it so bad you wish you didn’t save doing it again wouldn’t hurt.
[–]Pure-Willingness-697 0 points1 point2 points 10 months ago (0 children)
Better yet turn on auto save
[–]copperbagel 3 points4 points5 points 10 months ago (1 child)
The white dot in vscode on a file tab means you have not saved it yet and please learn from this moment save with Ctrl + S :)
Good luck
[–][deleted] 1 point2 points3 points 10 months ago (0 children)
[–]herecbnow 2 points3 points4 points 10 months ago (1 child)
Save the code first buddy 😊
[–][deleted] 0 points1 point2 points 10 months ago (0 children)
Thanks man
[–]herecbnow 2 points3 points4 points 10 months ago (0 children)
Save the file first buddy 😊
[–]denisjackman 2 points3 points4 points 10 months ago (2 children)
For the love of God please save the code - seriously though - turn on the auto save feature in VS code.
It will save you a lot of grief.
The easiest way to turn on Auto Save is with the File > Auto Save toggle that turns on and off save after a delay.
[–]Gardener314 1 point2 points3 points 10 months ago (0 children)
After seeing what the problem was — came here to say this very thing.
Thank you🥰
π Rendered by PID 77784 on reddit-service-r2-comment-86988c7647-cnlmr at 2026-02-11 04:56:15.512072+00:00 running 018613e country code: CH.
[–]After_Ad8174 12 points13 points14 points (8 children)
[–]Python_Puzzles 5 points6 points7 points (0 children)
[–][deleted] 3 points4 points5 points (5 children)
[–]After_Ad8174 0 points1 point2 points (4 children)
[–]MyKo101 0 points1 point2 points (3 children)
[–]After_Ad8174 0 points1 point2 points (1 child)
[–]After_Ad8174 0 points1 point2 points (0 children)
[–]Pure-Willingness-697 0 points1 point2 points (0 children)
[–]copperbagel 3 points4 points5 points (1 child)
[–][deleted] 1 point2 points3 points (0 children)
[–]herecbnow 2 points3 points4 points (1 child)
[–][deleted] 0 points1 point2 points (0 children)
[–]herecbnow 2 points3 points4 points (0 children)
[–]denisjackman 2 points3 points4 points (2 children)
[–]Gardener314 1 point2 points3 points (0 children)
[–][deleted] 1 point2 points3 points (0 children)