Welcome to the GUI Calendar Application! π This Python-based project uses the Tkinter library to create an interactive and user-friendly calendar viewer. Whether you're exploring Python GUI development or need a functional calendar tool, this project is perfect for you! π
- User-Friendly Interface: Intuitive design for effortless interaction.
- Dynamic Year Input: Enter any year to view its complete calendar.
- Elegant Design: Appealing colors and fonts enhance the experience.
- Interactive Calendar Viewer: Displays the full calendar in a secondary window.
- Tkinter: Pythonβs standard library for creating graphical user interfaces.
- Calendar Module: Used to generate the yearβs calendar.
The application starts with a root window named GUI Calendar:
- A label titled Calendar.
- A prompt to "Enter the year."
- An entry box to input the desired year.
- A button labeled Show Calendar!, which opens the yearly calendar viewer.
When the "Show Calendar!" button is clicked:
- A new window opens with the title Complete year calendar.
- The entered year is processed using the
calendar.calendar()function to generate the full calendar. - The output is displayed in the window using a
Labelwidget.
- Color Scheme:
- Root Window:
graybackground for a neutral look. - Calendar Viewer Window:
Light pinkbackground for a cheerful touch.
- Root Window:
- Font Styling: Bold, readable fonts with
Arialtypeface. - Responsive Layout: Widgets arranged with the
gridlayout for clarity.
- Ensure Python is installed on your system. π
- Save the code in a file named
gui_calendar.py. - Run the script via your Python IDE or terminal:
python gui_calendar.py
- Enter the desired year and click Show Calendar! to view the complete calendar.
Feel free to fork this repository and contribute by submitting pull requests. Suggestions and improvements are always welcome! π‘
This project is licensed under the MIT License - see the LICENSE file for details.
Happy coding! π»β¨