You need a debugger here. On Tue, Apr 6, 2010 at 8:41 AM, Lie Ryan <lie.1...@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 > similar. > -- > http://mail.python.org/mailman/listinfo/python-list >
-- http://mail.python.org/mailman/listinfo/python-list