How to output the commands that are executed in a python script?

Peng Yu pengyu.ut at gmail.com
Tue Apr 6 04:38:12 CEST 2010


I want to show what commands have been executed when I run a python
script. Is there an option which can instruct python to print the
commands automatically?

(If you are familiar with R, what I am asking is essentially
options(echo=T) in R.)

-- 
Regards,
Peng



More information about the Python-list mailing list