PYTHON | READ COMPLETE FILE | STUDENT RECORDS FROM BINARY FILE
#Option-1 myfile = open("marks.dat","r") x = myfile.read() print(x) print("File reading completed successfull...
#Option-1 myfile = open("marks.dat","r") x = myfile.read() print(x) print("File reading completed successfull...
n=int(input("How many records you want to enter: ")) fout = open(r"D:\Marks.dat","w") for i in range(n): ...
Write a function in python to count the number of lines in a text file ‘STORY.TXT’ which is starting with an alphabet ‘A’ def COUNTLINES...
Write a method/function DISPLAYWORDS() in python to read lines from a text file STORY.TXT, and display & count those words, which are ...
Download the File. Click here to Watch the Explanation & Developing Video