Mercurial > hg > numerics
diff numerics/convert.py @ 27:f865bc916593
stub for type inference
author | Jeff Hammel <k0scist@gmail.com> |
---|---|
date | Tue, 07 Oct 2014 21:04:36 -0700 |
parents | 7761aa18e885 |
children | a655306ee78d |
line wrap: on
line diff
--- a/numerics/convert.py Tue Oct 07 16:47:25 2014 -0700 +++ b/numerics/convert.py Tue Oct 07 21:04:36 2014 -0700 @@ -1,3 +1,12 @@ +#!/usr/bin/env python + +""" +convert between types +""" + +import sys +from .read import CSVParser + __all__ = ['cast', 'float_or_orig'] def cast(to_type, *values): @@ -11,3 +20,9 @@ def float_or_orig(*values): return cast(float, *values) + +def main(args=sys.argv[1:]): + """CLI""" + +if __name__ == '__main__': + main()