python Programming Glossary: pythoninspect
tell whether python is in -i mode http://stackoverflow.com/questions/640389/tell-whether-python-is-in-i-mode with the i flag According to the docs you can check the PYTHONINSPECT variable in os.environ which is the equivalent of i. But apparently.. of i. But apparently it doesn't work the same way. Works PYTHONINSPECT 1 python c 'import os print os.environ PYTHONINSPECT ' Doesn't.. Works PYTHONINSPECT 1 python c 'import os print os.environ PYTHONINSPECT ' Doesn't work python i c 'import os print os.environ PYTHONINSPECT..
|