Closed ReisG closed 2 years ago
We have to follow the OOP paradigms, so we need to create a separate class to deal with data like reading or writing.
I made Parser class where you cannot create an instance of class.
We will use class method Parser.get()
to get a list of activities for any day we need.
I added sorting mechanism. So now events of the day is sorted by beginning and then by ending.
Added method for parsing .shld files. Now we can load data from our database using this function.
Also some
__pycache__
files were deleted Please don't usegit commit -a -m "message"
Instead usegit add filename
and thengit commit -m "message"
This way you will not commit useless filesAnd i fixed my mistake in Event class