42
|
1 #!/usr/bin/env python
|
|
2 # -*- coding: utf-8 -*-
|
|
3
|
|
4 import argparse
|
|
5 import calendar
|
|
6 import datetime
|
|
7 import sys
|
|
8
|
|
9 __all__ = ['main']
|
|
10 calendar.setfirstweekday(calendar.SUNDAY)
|
|
11
|
|
12 class Calendar(object):
|
|
13 pass
|
|
14
|
|
15 class Month(object):
|
|
16 def __init__(self, month, year):
|
|
17 self.month = month
|
|
18 self.year = year
|
|
19
|
|
20 def main(args=sys.argv[1:]):
|
|
21 """CLI"""
|
|
22
|
|
23 # parse command line
|
|
24 parser = argparse.ArgumentParser(description=__doc__)
|
|
25 options = parser.parse_args(args)
|
|
26
|
|
27 now = datetime.datetime.now()
|
|
28
|
|
29
|
|
30 if __name__ == '__main__':
|
|
31 main()
|