forked from Deuxfleurs/site
Init script for calendar generation
This commit is contained in:
parent
526acdec1a
commit
1c9ff174cf
2 changed files with 20 additions and 0 deletions
0
script/README.md
Normal file
0
script/README.md
Normal file
20
script/calendar_generator.py
Normal file
20
script/calendar_generator.py
Normal file
|
@ -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
|
Loading…
Reference in a new issue