[IPython-user] [Fwd: Graphical Object Browser: Boa Constructor]

Fernando Perez Fernando.Perez at colorado.edu
Mon Sep 27 13:57:43 CDT 2004


Hi Jean,

I'm forwarding this to the ipython-users list b/c the Zope stuff may be useful 
to others, thanks for the info.

I've put my replies in below with [fp].

Cheers,

f

-------- Original Message --------
Subject: Graphical Object Browser: Boa Constructor
Date: Mon, 27 Sep 2004 21:19:57 +0200
From: Jean Jordaan <jean at upfrontsystems.co.za>
To: fperez at colorado.edu

Hi Fernando

I've just discovered how to make IPython work for debugging Zope --

jean at klippie fabrinox $ ./bin/zopectl debug
Starting debugger (the name "app" is bound to the top-level Zope object)
  >>> import IPython
  >>> IPython.Shell.IPShell().mainloop(sys_exit=1)
In [1]: @autocall # Turn it off (can put in '~/.ipython/ipythonrc')
In [2]: app = __IP.internal_ns['app']

Now I have an interactive prompt to a live Zope instance: supercool :)
No idea if that's the Right Way. That was 0.6.0; I've just upgraded to
0.6.3, dunno if that's going to work differently.

[fp] Great!  This should work the same with any version, that API hasn't 
changed, and it shouldn't in the future even as I clean things up.  One 
question: why turning autocall off?  Is it just personal preference, or does 
it cause you problems with zope stuff? [fp]

Anyway, reading
/usr/share/doc/ipython-0.6.3/new_design.pdf
I saw you were looking for graphical object browsers. Have you
considered
http://boa-constructor.sourceforge.net/ ?

[fp] I haven't looked at any in particular, mainly because the first step is 
an internal cleanup.  I'll probably target pycrust and idle first: idle 
because of its popularity, and pycrust because of its integration with other 
scipy-related projects.  Pycrust has an graphical object browser built in, so 
we should get this 'for free'.  But once the internal architecture is cleaned 
up, it should be possible to plug ipython into any gui-based shell with 
minimal effort.[fp]

Regards,
Jean Jordaan




More information about the IPython-user mailing list