Hey everyone! I'm curious if it's possible to create a bot using Python that can interact with web pages continuously, even when my PC is turned off or unplugged. Any guidance on how to set this up would be greatly appreciated!
3 Answers
Absolutely, you can create a Python bot, but remember, it can’t run on your PC if it’s turned off. You’ll need to host it somewhere like AWS or Google Cloud, where it can run on a virtual machine. Just search for tutorials on how to deploy your Python bot to the cloud, and you'll be good to go!
Be careful though! Setting up on AWS could lead to unexpected costs if you aren't careful. I've heard horror stories about accounts getting hacked and racking up huge bills!
For real, make sure to monitor your usage closely!
You might also want to check out AWS Lambda functions. They can help you run your bot in a more cost-effective way without needing to manage an entire server.
Cloud solutions are great, but for smaller projects, you could even just use a Raspberry Pi to run your bot!