[IPython-User] ipyhton-physics module and arrays
Thomas Kluyver
takowl@gmail....
Fri Sep 14 04:09:14 CDT 2012
On 14 September 2012 08:59, Vasco Tenner <vasco@tenner.nl> wrote:
> Or shorthand a = [('3 km'), ('5km')] . But now I want to convert this
> to meters. How can I do that?
Looking at the source code, it looks like PhysicalQuantity objects
have a to() method:
https://bitbucket.org/birkenfeld/ipython-physics/src/default/physics.py#cl-413
Thomas
More information about the IPython-User
mailing list