Detecting -i in a script

Marek Szuba marecki at fake.address
Mon Apr 13 21:41:44 CEST 2009

On 2009-04-13, Chris Rebert <clp2 at> wrote:

> The sys.flags.interactive bool.
> Details:
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


More information about the Python-list mailing list