Re: "Visually following", line by line, the execution of a program

From: Alexander Schliep (schliep_at_fermat.molgen.mpg.de)
Date: 10/18/04


Date: 18 Oct 2004 08:23:42 +0200

aleaxit@yahoo.com (Alex Martelli) writes:
> Andr? Roberge <andre.roberge@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@molgen.mpg.de