One of my favorite tools in C/C++ language is the preprocessor macros.

One example is switching certain print messages for debugging use only

#ifdef DEBUG_ENABLE
DEBUG_PRINT   print
#else
DEBUG_PRINT

Is it possible to implement something similar in python? Thank you.
-- 
https://mail.python.org/mailman/listinfo/python-list

Reply via email to