[IPython-User] modify a running script
Sun Oct 2 09:01:42 CDT 2011
Fernando: Thanks!. Great examples.
I need to talk to the users what exactly they need. Most of them are not
"programmers" just "script users". So I am thinking that a simple(r)
solution may be adequate.
On Fri, Sep 30, 2011 at 10:03 PM, Fernando Perez <firstname.lastname@example.org>wrote:
> On Thu, Sep 22, 2011 at 10:38 AM, Piotr Zolnierczuk
> <email@example.com> wrote:
> > A user wants to run a (long running experiment control) script and pause
> > at some point, modify something (e.g. a variable) and continue the
> > execution.
> > My answer was to use pdb from within ipython. Is there (out there)
> > else that could be used for this?
> Depending on what your environment/setup is, a good solution can be to
> have a GUI with a button that interrupts the code and opens up an
> ipython qconsole with the namespace you want to manipulate. Here are
> two examples where 'your application' is written in either WX or Qt:
> they both use this small stub:
Piotr Adam Zolnierczuk
written on recycled electrons
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the IPython-User