/usr/share/pyshared/quantities/units/velocity.py is in python-quantities 0.10.1-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 | """
"""
from __future__ import absolute_import
from ..unitquantity import UnitQuantity
from .length import m, nmi
from .time import s, h
c = speed_of_light = UnitQuantity(
'speed_of_light',
299792458*m/s,
symbol='c',
doc='exact'
)
kt = knot = knot_international = international_knot = UnitQuantity(
'nautical_miles_per_hour',
nmi/h,
symbol='kt',
aliases=['knot', 'knots', 'knot_international', 'international_knot']
)
del UnitQuantity, m, nmi, s, h
|