python scripts for doing computations with pnt files