On Sunday 23 January 2005 18:04, Michael Hoffman wrote:
> Frans Englich wrote:
[...]
> if command_line_debug_option:
>      debug = _debug_true
> else
>      debug = _debug_false

I find this a nice solution. The most practical would be if it was possible to 
do this with print, of course. But print won't budge.

Is it possible to create own statements, such that it would be possible to do:

printDebug "test"

?


Cheers,

                Frans
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to