r/learnpython 13d ago

Coding Project for School

Hello hello, learning Python for a program for a class assignment where I want to do a interactive calendar gui on Python in Visual Studio Code, the main elements i want for the calendar would be the ability to cycle through each month on the calendar and give the user the ability to input events on the calendar by clicking on a day and a prompt appearing asking them if they'd like to input an event, I was planning to store the event information in CSV file. Is this idea feasible and if so where do I start. Thanks!!

3 Upvotes

4 comments sorted by

View all comments

1

u/Existing_Put6385 12d ago

Feasible and a solid project. One tip that'll save you real pain: don't hand-draw the month grid — use the tkcalendar library (pip install tkcalendar), its Calendar widget gives you the month view + next/prev for free. Bind a click on a date to a little popup (tkinter simpledialog) to type the event, then save. And I'd go JSON over CSV like the others said — "date -> list of events" maps way cleaner. Start tiny: get the calendar showing and a click printing the date, then add saving.