Case 2:- read () function with parameter
filedata=open("d:\\student_marks.txt","r")
mydata=filedata.read(17) # read() with parameter, it extract 17 characters/bytes from file
print(mydata)
filedata.close()
On this page of the site you can watch the video online readline method in python with a duration of hours minute second in good quality, which was uploaded by the user p for python 07 May 2020, share the link with friends and acquaintances, this video has already been watched 123 times on youtube and it was liked by 5 viewers. Enjoy your viewing!