tell(): Returns the current file position
f = open(r'c:\text\somefile.txt') f.read(3) f.read(2) f.tell() #the number returned from f.tell in this case was a long integer.