Plan Your Bot's Next Steps
For more information on topics introduced in this lesson, you can check out the following Real Python resources:
00:00 In the previous lesson, you finished up building a basic version of your uptime bot. In this lesson, you’re going to learn about some next steps of what you can do with this bot moving forward. So, it’s working, you can run it locally, but you don’t really have that much benefit from it yet.
00:16 Some things that could be useful to incorporate into this project is you could send an email notification at the point of when your uptime bot fails to access your website three times in a row.
00:28
When it jumps out of the while
loop, instead of not doing anything specifically, you could send an email notification. And then you would also not just want to have this running locally, but you want to have it somewhere on the web, so you could learn how to deploy your script. There’s resources for both of these topics on Real Python, so I suggest you to move forward to first learn how to send emails with Python and integrate it into your uptime bot, and then move forward to learn how to deploy a script as a Flask app.
00:57 So with these two pieces of information, you’re going to know how to make your uptime bot send email notifications and also you can make it live somewhere on a server so that it can just keep running independently of your own local machine. Now, this is what I would suggest you do moving forward.
01:14 You can also learn about Python logging to give better output and keep track of what is happening in your bot, so that’s another area that you could move forward on, but that’s it for now.
01:24 And in the next final lesson of this course, you’re going to get a quick overview again of what you learned and we’re going to sum up the course.
Martin Breuss RP Team on Oct. 15, 2021
Glad you liked it @dbeauvais93 :D
Become a Member to join the conversation.
dbeauvais93 on Oct. 15, 2021
Had a lot of fun with this script man, thanks!