[IPython-dev] ipipe news

John Hunter jdhunter at ace.bsd.uchicago.edu
Thu Mar 2 11:59:12 EST 2006


>>>>> "Walter" == Walter Dörwald <walter at livinglogic.de> writes:
    Walter> Here's the first patch:
    Walter> http://styx.livinglogic.de/~walter/IPython/ipipe.diff

This morning I was thinking about the usefulness of an object browser
class "iobj", that does a dir on an object and reports the attribute
names in the first class and the attribute values in the right.
Something like

  myobj | ifilter("not attr.startswith('_')") | ibrowse

In the browser, you would want to be able to enter the object as an
object.  Eg, if you have an array attribute, pressing "E" browses the
array as a sequence and pressing "o" would browse it as an object,
listing the array attributes.

Or does something like this already exist?

JDH




More information about the IPython-dev mailing list