Files write and read in Python
import sys with open(sys.argv[1], "r") as ins: for line in ins: #do something with file's line