Seek And Tell Method In Python