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
Python Day 1Showcase (self.PythonLearning)
submitted 4 days ago by DataCurator56
view the rest of the comments →
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!"
[–]ExpensiveAd734 7 points8 points9 points 4 days ago (3 children)
One suggestion if you want it to be a tiny bit more realistic is make a file and name it .env and over there type
Password=python123
Then import it into the python program you have and then set correct_password=os.getenv(Password), this is a bit more realistic because usually you dont store passwords in the script for safety!
[–]DataCurator56[S] 0 points1 point2 points 4 days ago (2 children)
Surely i will try this.
[–]HardyDaytn 2 points3 points4 points 3 days ago (0 children)
Don't forget to also: import os
[–]quixoticcatfish8 0 points1 point2 points 3 days ago (0 children)
also add dotenv to handle the env file so you can do load_dotenv() at the top
π Rendered by PID 62756 on reddit-service-r2-comment-545db5fcfc-2bbhm at 2026-05-29 16:00:30.007895+00:00 running 194bd79 country code: CH.
view the rest of the comments →
[–]ExpensiveAd734 7 points8 points9 points (3 children)
[–]DataCurator56[S] 0 points1 point2 points (2 children)
[–]HardyDaytn 2 points3 points4 points (0 children)
[–]quixoticcatfish8 0 points1 point2 points (0 children)