Redirecting StdOut

Ugo García plugin at supercable.es
Sun Jun 23 14:19:23 EDT 2002


Hi all. I'm making a game and I'm using Python as the script language. I'm
including a console to communicate with Python. I can interactively send
commands to the interpreter but I can't obtain the response from it. Is
there any way to redirect stdout and stderr in order to print its contain to
the screen?

Thank in advance
--ugo





More information about the Python-list mailing list