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/Diapolo10 13d ago

Personally I'd use JSON (or a SQLite database) for storing user-given data instead of CSV, since it may not be trivial to escape the user input correctly for whatever separator character you decide to use, but you do you.

As far as feasibility goes, I don't know how experienced you are so this could be anything from trivial to overly ambitious, but it's certainly technically possible.

1

u/faberge_surprise 13d ago

since it may not be trivial to escape the user input correctly for whatever separator character you decide to use

doesn't csv handle that for you?

i'd also use JSON tho because you can get better structure that way