diff options
author | Aeddis Desauw <aeddis@deuxfleurs.fr> | 2024-04-26 18:07:42 +0200 |
---|---|---|
committer | Aeddis Desauw <aeddis@deuxfleurs.fr> | 2024-04-26 18:07:42 +0200 |
commit | 1c9ff174cf10893162e40e2ec7f6b3f034b88fdc (patch) | |
tree | ba36c7746baea47f246b8f3ca9e7cec974366b2d /script/calendar_generator.py | |
parent | 526acdec1a708b143dbfe5ca9f1f5dddd910942e (diff) | |
download | site-1c9ff174cf10893162e40e2ec7f6b3f034b88fdc.tar.gz site-1c9ff174cf10893162e40e2ec7f6b3f034b88fdc.zip |
Init script for calendar generation
Diffstat (limited to 'script/calendar_generator.py')
-rw-r--r-- | script/calendar_generator.py | 20 |
1 files changed, 20 insertions, 0 deletions
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 |