Re: Tracking the status of python script execution

2013-12-12 Thread Ned Batchelder
On 12/11/13 2:26 PM, Shyam Parimal Katti wrote: Hello All, I am looking for a library that can help me trace the status of a live python script execution. i.e if I have a python script `x.py` with 200 lines, when I execute the script with `python x.py`, is there a way to trace the status of this

Re: Tracking the status of python script execution

2013-12-11 Thread Dan Stromberg
Long ago, I saw a C program that took another C program as input. It would output a copy of the original C program, interspersed with fprintf's that would display the text of the line current being executed. You might write something similar for Python, perhaps outputting the line being executed

Re: Tracking the status of python script execution

2013-12-11 Thread Chris Angelico
On Thu, Dec 12, 2013 at 6:26 AM, Shyam Parimal Katti wrote: > I am looking for a library that can help me trace the status of a live > python script execution. i.e if I have a python script `x.py` with 200 > lines, when I execute the script with `python x.py`, is there a way to trace > the status

Tracking the status of python script execution

2013-12-11 Thread Shyam Parimal Katti
Hello All, I am looking for a library that can help me trace the status of a live python script execution. i.e if I have a python script `x.py` with 200 lines, when I execute the script with `python x.py`, is there a way to trace the status of this execution in terms of number of lines executed so