view numerics/sum.py @ 171:4372fb852384

add example file
author Jeff Hammel <k0scist@gmail.com>
date Thu, 02 Jul 2015 20:56:55 -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()