Mercurial > hg > numerics
view numerics/mean.py @ 155:2a124febcd49
prepping for labels
author | Jeff Hammel <k0scist@gmail.com> |
---|---|
date | Tue, 12 May 2015 16:04:05 -0700 |
parents | c9ae21955ca5 |
children | 3bcd097c27f2 |
line wrap: on
line source
#!/usr/bin/env python # -*- coding: utf-8 -*- """ compute mean of data """ # imports import sys from .filters import mean from .reduce import ReduceParser __all__ = ['main'] def main(args=sys.argv[1:]): """CLI""" ReduceParser(mean)(*args) if __name__ == '__main__': main()