Answers for "file seek python"

0

file seek python

# Change the current file position to 4, and return the rest of the line
f = open("demofile.txt", "r")
f.seek(4)
print(f.readline())
Posted by: Guest on April-17-2021

Python Answers by Framework

Browse Popular Code Answers by Language