#file
fileopen = open("sudhuwrite.txt" , "w+") 

fileopen.write("The write() method writes any string to an open file. It is important to note that Python strings can have binary data and not just text.")
fileopen.seek(0)
print("content is:---"+fileopen.read(10))

fileopen.close()
