[Numpy-discussion] verbose output when running python script?

Nathaniel Smith njs@pobox....
Mon Mar 5 10:37:53 CST 2012


Try the trace module in the standard library:
http://docs.python.org/library/trace.html
http://www.doughellmann.com/PyMOTW/trace/

- Nathaniel
On Mar 5, 2012 3:27 PM, "Chao YUE" <chaoyuejoy@gmail.com> wrote:

> Dear all,
>
> Sorry this is not the good place to ask but I think there must be someone
> who has done this before.
> Is there any way to see the execution of python script line by line as the
> verbose model of shell script?
> this can be done either in ipython or by running the python script in a
> shell script?
>
> thanks to all,
>
> cheers,
>
> Chao
>
> --
>
> ***********************************************************************************
> Chao YUE
> Laboratoire des Sciences du Climat et de l'Environnement (LSCE-IPSL)
> UMR 1572 CEA-CNRS-UVSQ
> Batiment 712 - Pe 119
> 91191 GIF Sur YVETTE Cedex
> Tel: (33) 01 69 08 29 02; Fax:01.69.08.77.16
>
> ************************************************************************************
>
>
> _______________________________________________
> NumPy-Discussion mailing list
> NumPy-Discussion@scipy.org
> http://mail.scipy.org/mailman/listinfo/numpy-discussion
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.scipy.org/pipermail/numpy-discussion/attachments/20120305/57b0a01a/attachment.html 


More information about the NumPy-Discussion mailing list