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

2010-04-05 Thread Shashwat Anand
You need a debugger here. On Tue, Apr 6, 2010 at 8:41 AM, Lie Ryan wrote: > 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

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

2010-04-05 Thread Lie Ryan
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 n

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

2010-04-05 Thread Peng Yu
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 -- http://mail.python.org/mailman/li