equivalent of bash "set -x" in Python

TP Tribulations at Paralleles.invalid
Sun Sep 26 06:17:38 EDT 2010


Hi everybody,

I am interested in having the possibility to print every Python commands in 
a script (for didactic purpose).
So I am looking for some sort of equivalent of bash "set -x".
Does it exist?

Thanks

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