seki-strombrg> ~/public_html/modunits -h Usage: modunits [-h] -t type [-d detail] [-u unitstype] [-c] [-r] [-a] [-s] [-n number] -h give this help message -t type Specify the type of numbers to be reformatted. Required. Currently legal values are: computer-bit-seconds computer-byte-hours computer-size time -d detail Specify the type of numbers to be reformatted Currently legal values are: all highest highest-and-fraction list string-list two-highest -u unitstype Specify if units should be abbreviated or spelled out in full Currently legal values are: abbreviated unabbreviated -c separate with commas -r output in reverse -a put the units after the numbers, not before. A bit shorter-n number Specify a number to be reformatted. Can be repeated -s Read numbers from stdin You can specify both -s and -n, but if you do, the -n numbers will be processed before the numbers read from stdin. Or in your python, "import modunits" seki-strombrg> ~/public_html/modunits -t time -n 111 -d two-highest -c -u unabbreviated -a 51 seconds, 1 minutes Fri Sep 30 12:10:23
You can e-mail the author with questions or comments: