Detecting -i in a script

Marek Szuba marecki at fake.address
Mon Apr 13 21:09:39 CEST 2009

Hello there,

Is there any way of detecting in a script whether the interpreter
session running it has been launched with the -i option? My Google fu
has failed me on this subject... Thanks in advance.


More information about the Python-list mailing list