[IPython-User] Example similar to "ipython -p physics" for ipython 0.11?

Arthur Woll arthurwoll@cornell....
Tue Sep 27 21:48:31 CDT 2011


Hi all,

I'm looking for an example of how to use ipython to implement (modest) input prefiltering as described in various places for pre-0.11 versions of ipython.

For example the old ipthonrc-physics "profile" (loaded using "ipython -p physics") allows input such as:

In [1]: a = 10 lb

(Described here:  http://fperez.org/papers/ipython07_pe-gr_cise.pdf)

and translates this to 

a = PhysicalQuantityInteractive(10, 'lb')

Any suggestions?

-AW

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.scipy.org/pipermail/ipython-user/attachments/20110927/c68f1b57/attachment.html 


More information about the IPython-User mailing list