who to print read a file in python code example
Example: how to read a file in python
# when you want to read the file from terminal in python use
import sys
f = open(sys.argv[1])
line=f.readline()
# when you want to read the file from terminal in python use
import sys
f = open(sys.argv[1])
line=f.readline()