From 1c9ff174cf10893162e40e2ec7f6b3f034b88fdc Mon Sep 17 00:00:00 2001 From: Aeddis Desauw Date: Fri, 26 Apr 2024 18:07:42 +0200 Subject: Init script for calendar generation --- script/calendar_generator.py | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 script/calendar_generator.py (limited to 'script/calendar_generator.py') diff --git a/script/calendar_generator.py b/script/calendar_generator.py new file mode 100644 index 0000000..1f8e11c --- /dev/null +++ b/script/calendar_generator.py @@ -0,0 +1,20 @@ +""" +Module to generate the Ascii art version of a calendar +""" +import sys + +class Calendar: + __name = "" + __first_day= "" + __nb_day= 0 + + def get_day(day : int): + pass + + def generate_ascii_calendar(cal): + pass + +if __name__ == "__main__": + # get the month with format MM-YYYY from argv + # print the ascii of thus month + pass -- cgit v1.2.3