From the course: Python Projects
Unlock the full course today
Join today to access over 24,900 courses taught by industry experts.
Schedule a task - Python Tutorial
From the course: Python Projects
Schedule a task
- [Instructor] Let's look back at the original outline for a daily digest email class that I created earlier in this course. I've successfully implemented format message and send email methods so I can check those off as complete. And as part of implementing those functions, I added a list to store the recipient email addresses along with a few other instance variables that I had not originally planned for as part of my rough outline. That leaves me with one final piece to implement, the ability to send the daily digest at a reoccurring time every day. Now I did include a method called schedule time as part of the GUI. My idea was that the administrator will use the GUI to configure the time at which they want the email to be sent every day. And that gets passed to the email object, which is then responsible for sending the email itself at that specific time. Keep in mind, this was my initial plan. I created it as a rough outline to organize the pieces of my application I would need…
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.