check if running under IDLE
Christos TZOTZIOY Georgiou
tzot at sil-tec.gr
Thu Aug 7 06:22:28 EDT 2003
On Mon, 04 Aug 2003 22:26:19 +0200, rumours say that Helmut Jarausch
<jarausch at skynet.be> might have written:
>Is there a mean either to set sys.argv without modifying
>the script or to check if the script is running under IDLE's
>control.
Try checking what is the sys.stdin.__class__ .
--
TZOTZIOY, I speak England very best,
Microsoft Security Alert: the Matrix began as open source.
More information about the Python-list
mailing list