On 2009-04-13, Chris Rebert <clp2 at rebertia.com> wrote: > The sys.flags.interactive bool. > > Details: http://docs.python.org/library/sys.html#sys.flags Hmm, "New in version 2.6"... Are you aware of any way of extracting this information in older versions of Python? My code needs to be 2.3-compatible. -- MS