view numerics/cal.py @ 164:c16940bd2cee

this works
author Jeff Hammel <k0scist@gmail.com>
date Fri, 15 May 2015 16:59:09 -0700
parents 035e15e99e57
children
line wrap: on
line source

#!/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()