Skip to content
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
executable file 15 lines (12 sloc) 345 Bytes
#!/usr/bin/env python3
# vim:fileencoding=utf-8
import os
import sys
from myutils import filesize
if len(sys.argv) == 1:
for l in sys.stdin:
n = int(l.strip())
sys.exit('%s reads integers one per line from stdin, and print in human-' \
'readable byte size unit' % os.path.split(sys.argv[0])[1])
You can’t perform that action at this time.