raw_input weirdness -- shell's fault?
Darrell Gallion
darrell at dorb.com
Wed Sep 6 19:06:31 EDT 2000
More information about the Python-list mailing list
Wed Sep 6 19:06:31 EDT 2000
- Previous message (by thread): WINGs
- Next message (by thread): raw_input weirdness -- shell's fault?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
"Piet van Oostrum" <piet at cs.uu.nl> wrote: > > By the way does anybody know a way for a python program on Windows to find > out if it is running interactively? Maybe something like this. >>> print sys.modules['__main__'] <module '__main__' (built-in)> --Darrell
- Previous message (by thread): WINGs
- Next message (by thread): raw_input weirdness -- shell's fault?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-list mailing list