view numerics/sum.py @ 172:dc0a620a0368

add another example
author Jeff Hammel <k0scist@gmail.com>
date Fri, 03 Jul 2015 11:11:01 -0700
parents 3bcd097c27f2
children
line wrap: on
line source

#!/usr/bin/env python

"""
sum columns in CSV
"""

import sys
from .reduce import ReduceParser

def main(args=sys.argv[1:]):
    """CLI"""

    ReduceParser(sum, description=__doc__)(*args)

if __name__ == '__main__':
    main()