What is print? A function?

Frans Englich frans.englich at telia.com
Sun Jan 23 13:35:07 EST 2005


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



More information about the Python-list mailing list