an extract of the Jupyter notebook PintTest.ipynb  demonstrating the use of Pint to do calculations in Python using units.