If I\'m in debug mode, I want to do other stuff than when I\'m not.
if DEBUG: STORED_DATA_FILE = os.path.join(TEMP_DIR, \'store.dat\') LOG_LEVEL = lo
you can use python -O with the __debug__ variable
python -O
__debug__
where -O means optimise. so __debug__ is false
-O
-d turns on debugging for the parser, which is not what you want
-d