Using Python's sleep() to Create a Simple Uptime Bot

Publié le: 05 août 2021
sur la chaîne: Real Python
5,469
131

Have you ever needed to make your Python program wait for something? You might use a Python sleep() call to simulate a delay in your program. Perhaps you need to wait for a file to upload or download, or for a graphic to load or be drawn to the screen. You might even need to pause between calls to a web API, or between queries to a database.

You will build a simple bot script that will check a website to determine if it is currently up. The course goes into refactoring and optimizing the code.

Click here for more info about the complete course: https://realpython.com/courses/python...


Sur cette page du site, vous pouvez voir la vidéo en ligne Using Python's sleep() to Create a Simple Uptime Bot durée heure minute seconde en bonne qualité , qui a été Téléchargé par l'utilisateur Real Python 05 août 2021, Partagez le lien avec vos amis et connaissances, sur youtube cette vidéo a déjà été regardée 5,469 fois et il a aimé 131 téléspectateurs. Bon visionnage!