How to output the commands that are executed in a python script?
anand.shashwat at gmail.com
Tue Apr 6 05:25:40 CEST 2010
You need a debugger here.
On Tue, Apr 6, 2010 at 8:41 AM, Lie Ryan <lie.1296 at gmail.com> 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 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
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Python-list