log_chk.py [infile] [outfile] #! /bin/python import conf import sys for arg in sys.argv[1:]: print "unko" print sys.argv[0] #test=[] #test1=[] #test="unko\n" #test1="test" #log=open('report.log','w') #log.writelines(test) #log.writelines(test1) #log.close()