Return the stream position as an opaque number. The return value of tell() can be given as input to seek(), to restore a previous stream position.
io/TextIOWrapper.tell
TextIOWrapper.tell