Articles → PYTHON → Tell function in python

Tell function in python






Purpose





Example




myfile = open("c:\\temp\\gyan.txt", "w")
myfile.write("Hi")


print(myfile.tell())

myfile.close()





Output


Picture showing the output of tell function in python

Click to Enlarge


Posted By  -  Karan Gupta
 
Posted On  -  Sunday, September 12, 2021

Query/Feedback


Your Email Id  
 
Subject 
 
Query/FeedbackCharacters remaining 250