Mercurial > hg > numerics
changeset 42:035e15e99e57
stub
author | Jeff Hammel <k0scist@gmail.com> |
---|---|
date | Tue, 23 Dec 2014 13:54:34 -0800 |
parents | dee0a650bd5a |
children | bcf9ec537bda |
files | numerics/cal.py |
diffstat | 1 files changed, 31 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/numerics/cal.py Tue Dec 23 13:54:34 2014 -0800 @@ -0,0 +1,31 @@ +#!/usr/bin/env python +# -*- coding: utf-8 -*- + +import argparse +import calendar +import datetime +import sys + +__all__ = ['main'] +calendar.setfirstweekday(calendar.SUNDAY) + +class Calendar(object): + pass + +class Month(object): + def __init__(self, month, year): + self.month = month + self.year = year + +def main(args=sys.argv[1:]): + """CLI""" + + # parse command line + parser = argparse.ArgumentParser(description=__doc__) + options = parser.parse_args(args) + + now = datetime.datetime.now() + + +if __name__ == '__main__': + main()