On 04/06/10 12:38, Peng Yu wrote: > 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.) >
It's not exactly the same, but pdb (Python Debugger) can do something similar. -- http://mail.python.org/mailman/listinfo/python-list