From what I know, sys.stdout
is a file that represents the stdout of a terminal. However, when I try to use sys.stdout.seek
, whatever parameters I give it, it throws an error:
IOError: [Errno 29] Illegal seek
What's going on? Is it the fact that I'm using the TTY itself and not a virtual terminal like xterm? How can I resolve this?