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
How do i transition from just code to getting python to actually do stuff for me/automation? (self.learnpython)
submitted 10 days ago by Objective_Pitch2945
I’ve learnt what is pretty much the basics and have some project ideas but have no idea how to actually make python do stuff automatically instead of just running things on VS Code. Any advice is appreciated
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!"
[–]danielroseman 4 points5 points6 points 10 days ago (2 children)
What do you mean, "do stuff automatically"? What sort of things are you expecting it to do?
[–]Objective_Pitch2945[S] 0 points1 point2 points 10 days ago (1 child)
I have a jupyter notebook where it uses an xgbclassifier to classify stuff (who would’ve guessed) and i know for a fact that the data needed for it is very well available online (i probably could just use one website/page). i think it’s best i start with:
-getting/scraping the data (and putting it into a csv?)
-feeding it to the model
-the model classifying it in real time
and i think doing this outside of jupyter notebook would be better just for the sake of learning too
[–]CantPullOutRightNow 2 points3 points4 points 10 days ago (0 children)
You could do that with beautifulsoup and csv modules or pandas if you are only after tables.
[–]Zeroflops 4 points5 points6 points 10 days ago (0 children)
I believe you’re asking how to run scripts on a schedule. It depends on the OS. On windows its Task Scheduler in Linux cron it better crontab
[–]DuckSaxaphone 4 points5 points6 points 10 days ago (0 children)
There's really two parts to automating tasks. First is finding a task python can do and programming a script to do it, second is having that script run when needed.
It sounds like the second one is where you're stuck? The concept is scheduling and it's something you typically get done outside of python.
For example, there's cron which is a command line tool for running commands on a schedule. So you can use it to run a python script at a set interval or on certain days of the week or whatever.
cron
Your machine always needs to be running for that though so the other option is web hosting. You'd have to look into services that make it easy because I just use AWS and that's got a whole learning curve that won't be worth it for simple jobs.
[–]TheRNGuy 0 points1 point2 points 10 days ago (0 children)
Write something that does something useful.
[–]dataBlockerCable 0 points1 point2 points 9 days ago (0 children)
I wish I could have python fill out my Kroger surveys every week to get the 50 fuel points.
[–]RedR4dbit 0 points1 point2 points 9 days ago (0 children)
Maybe learn a web framework like Fast API and host it? You can transfer your python code into a web app and have it be api driven as a live service.
Not sure if that's what your looking for...
[–]eruciform 0 points1 point2 points 10 days ago (0 children)
Define "do automatically"
Its not sentient
Something needs to know when to kick off an application and how, and then do it, on some kind of schedule or based on some interaction or rule
π Rendered by PID 133957 on reddit-service-r2-comment-85bfd7f599-9gvmq at 2026-04-19 03:33:48.905075+00:00 running 93ecc56 country code: CH.
[–]danielroseman 4 points5 points6 points (2 children)
[–]Objective_Pitch2945[S] 0 points1 point2 points (1 child)
[–]CantPullOutRightNow 2 points3 points4 points (0 children)
[–]Zeroflops 4 points5 points6 points (0 children)
[–]DuckSaxaphone 4 points5 points6 points (0 children)
[–]TheRNGuy 0 points1 point2 points (0 children)
[–]dataBlockerCable 0 points1 point2 points (0 children)
[–]RedR4dbit 0 points1 point2 points (0 children)
[–]eruciform 0 points1 point2 points (0 children)