Code a Calendar System
Markus Spiske - Pexels
A typical family has lots of different events to remember. A child’s sports event, a big birthday, a religious holiday or even days off school. With so many big days, it can be impossible to remember when they all are!
This programme will enable the user to see how much longer they have to wait for a big event by telling them the number of days left before the event occurs.
School of Coding - Cair4Youth
Your task is to create a code in python, using the Tkinter module and external file handling to build a programme that countdowns to big events, and displays the number of days left until each event to the user.
Source code has been supplied within the documents along with the necessary instructions for this task.
Your code should…
- Allow the user to enter important dates into a text file.
- Output the number of days until each event by using python’s Tkinter and datetime modules.
The following links have been provided to help you on this task:
- Python CALENDAR Tutorial with Example
- How to Use Python's Calendar Module
- Python | Calendar Module
- Python Datetime Tutorial: Manipulate Times, Dates, and Time Spans
The Documents attached are:
- The Countdown Calendar Source Code
- Countdown Calendar Instructions Document
Videos look at:
- How to import datetime
- Different methods of calendar examples
- Python Calendar module for beginners
Congratulation on completing Level 3 - Family Calendar
With your newly acquired knowledge, you will be able to look at everyday things differently. An example will be next time you get a reminder come through to you that provides a countdown to events and the number of days remaining for that event, then you will be able to identify how that was developed.
- You should be able to use the canvas widget in Tkinter in python to create a basic GUI interface.
- You should be confident in external file handling in reading from text files, that you have created using IDLE.
- You should also be confident in the use of intermediate python skills such as subroutines, for loops and lists.