aboutsummaryrefslogtreecommitdiff
path: root/script
diff options
context:
space:
mode:
authorAeddis Desauw <aeddis@deuxfleurs.fr>2024-04-26 18:07:42 +0200
committerAeddis Desauw <aeddis@deuxfleurs.fr>2024-04-26 18:07:42 +0200
commit1c9ff174cf10893162e40e2ec7f6b3f034b88fdc (patch)
treeba36c7746baea47f246b8f3ca9e7cec974366b2d /script
parent526acdec1a708b143dbfe5ca9f1f5dddd910942e (diff)
downloadsite-1c9ff174cf10893162e40e2ec7f6b3f034b88fdc.tar.gz
site-1c9ff174cf10893162e40e2ec7f6b3f034b88fdc.zip
Init script for calendar generation
Diffstat (limited to 'script')
-rw-r--r--script/README.md0
-rw-r--r--script/calendar_generator.py20
2 files changed, 20 insertions, 0 deletions
diff --git a/script/README.md b/script/README.md
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/script/README.md
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