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

Arthur Woll arthurwoll@cornell....
Tue Sep 27 21:38:54 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




More information about the IPython-User mailing list