equivalent of bash "set -x" in Python

TP Tribulations at Paralleles.invalid
Sun Sep 26 06:46:12 EDT 2010


James Mills wrote:

> What do you mean by "command" ?

For example, print statements, but it could extend to class definitions, 
etc. I am going to examine the solution given by Chris.

Cheers,
Julien

-- 
python -c "print ''.join([chr(154 - ord(c)) for c in '*9(9&(18%.\
9&1+,\'Z4(55l4('])"

"When a distinguished but elderly scientist states that something is
possible, he is almost certainly right. When he states that something is
impossible, he is very probably wrong." (first law of AC Clarke)



More information about the Python-list mailing list