raw_input weirdness -- shell's fault?

Piet van Oostrum piet at cs.uu.nl
Wed Sep 6 08:13:43 EDT 2000


>>>>> matt at mondoinfo.com (Matthew Dixon Cowles) (MDC) writes:

MDC> It seems that Python isn't flushing its output buffer, presumably
MDC> because it doesn't know that it's running interactively. I don't know
MDC> enough about NT to know why that might be but running Python as

probably because it gets its input from/puts its output to a pipe, rather
than a real console.

By the way does anybody know a way for a python program on Windows to find
out if it is running interactively?
-- 
Piet van Oostrum <piet at cs.uu.nl>
URL: http://www.cs.uu.nl/~piet [PGP]
Private email: P.van.Oostrum at hccnet.nl



More information about the Python-list mailing list