readLine
import sys
import os.path
argvs = sys.argv #Argument list
argc = len(argvs)
if (argc != 2):
print 'args must to be 2'
quit()
if not (os.path.isfile(argvs[1])):
print 'no such file: ' + argvs[1]
quit()
f = open(argvs[1])
for line1 in f:
#processing
f.close()
Recommended Posts