python and physics