Background in Python | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

Background in Python

I want that my program runs when the program is closed too. Sorry for the English 😂

29th Oct 2019, 4:07 PM
Mr. Scratch
Mr. Scratch - avatar
2 Answers
0
You can use task scheduler/cron job or run the app as a service
29th Oct 2019, 4:19 PM
Razhel
Razhel - avatar
0
The easiest way - push your code to GitHub, then rent some VPS, install some Linux there, Python and all needed dependents; pull your code from GitHub. Then use 'screen' utility and run your .py file, after that detach screen and enjoy! Your app will work forever! (Until you pay for VPS)
29th Oct 2019, 8:29 PM
Jack Catnip
Jack Catnip - avatar