$fh ->tell()
Front-end for the corresponding built-in tell function, which returns the current file position in bytes (starting from 0).
tell
Copyright © 2001 O'Reilly & Associates. All rights reserved.