how do I know if I'm using a debug build of python

Tim Mitchell timaranz at gmail.com
Thu Apr 17 17:13:55 EDT 2008


Hi,

A quick question:
Is there any way for a python script to know if it's being executed by a 
debug build of python (python_d.exe) instead of python?

Thanks
Tim




More information about the Python-list mailing list