r/learnpython • • Sep 19 '20

When you automate something in python, you'd obviously have to run the script forever. Where can we run the script?

I want to automate something, and whenever that event occurs, I get an email But I was thinking I can't use my laptop for this as it's not on forever and when I run another script, the previous one stops and I don't get emails How do you approach your automations? Like, do you put it on some server that can run 24 7 or something?

473 Upvotes

114 comments sorted by

View all comments

Show parent comments

3

u/GallantObserver Sep 21 '20

this post has rocked my last 24 hours when I realised I had an under-used raspberry pi kicking around and I should get some things to do with it :D

1

u/Pseudoboss11 Sep 21 '20

Hell yeah! The cost of physical computing has declined a lot over the last few years, and can be so much fun to build.