how to read from files python code example
Example: python file reading
fin = open("NAME.txt", 'r')
body = fin.read().split("\n")
line = fin.readline().strip()
fin = open("NAME.txt", 'r')
body = fin.read().split("\n")
line = fin.readline().strip()