units.py 110 Bytes
Newer Older
1
2
3
4
5
from pint import UnitRegistry
ureg = UnitRegistry()

# use short ASCII print format
ureg.default_format = '~'