Join us and get access to hundreds of tutorials and a community of expert Pythonistas.

Unlock This Lesson

This lesson is for members only. Join us and get access to hundreds of tutorials and a community of expert Pythonistas.

Unlock This Lesson

Hint: You can adjust the default video playback speed in your account settings.
Hint: You can set the default subtitles language in your account settings.
Sorry! Looks like there’s an issue with video playback 🙁 This might be due to a temporary outage or because of a configuration issue with your browser. Please see our video player troubleshooting guide to resolve the issue.

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.

Become a Member to join the conversation.