python Statement: write into a file 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()