readLine
import sys
import os.path
argvs = sys.argv #Argumentliste
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:
#wird bearbeitet
f.close()
Recommended Posts