"Visually following", line by line, the execution of a program
Alexander Schliep
schliep at fermat.molgen.mpg.de
Mon Oct 18 02:23:42 EDT 2004
aleaxit at yahoo.com (Alex Martelli) writes:
> Andr? Roberge <andre.roberge at ns.sympatico.ca> wrote:
> > I want to "import and execute" a python program (input_test.py below)
> > within another program (execute_test.py below) and "watch it" being
> > executed.
> > By watching it, I mean to display the file input_test.py in a window
> > (GUI) and highlighting the line being executed.
>
> The functionality you require is known as 'tracing'.
>
> See section 9.2, "How it works", in the Python Library Reference, for
> ...
You can find an implementation in our graph algorithm visualization
software Gato (http://gato.sf.net). It should be trivial to strip out
the necessary code.
Best,
Alexander
--
Alexander Schliep schliep at molgen.mpg.de
More information about the Python-list
mailing list