readLine
import sys
import os.path
argvs = sys.argv #Liste d'arguments
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:
#En traitement
f.close()
Recommended Posts