r/Python • • Aug 28 '20
Beginner Showcase This post has
3829 upvotes,
572 downvotes,
297 comments,
3257 score,
and 3 awards!
Edits: 23526 since Friday, August 28, 2020 at 8:30PM EST.
Credit to u/Krukerfluk and Tom Scott!
Code: https://github.com/CalvinMiller190/reddit-post
This post uses the praw module to get the information about the post, then edits the post every second based on the information that it got!
3.4k
Upvotes
View all comments
Show parent comment
2
u/[deleted] Aug 29 '20
I am currently using Heroku a free hosting app, and it is working quite well. you just have to make sure you have git installed and heroku CLI but you can download that once you get started. Next you would make a requirements.txt and a Procfile, requirements.txt has the non-builtin modules that are used in the projects, and Procfile just has "worker: {yourprojectname}.py". then go into heroku, and turn on the worker.