The following example opens the ephemeris file example1.dat

from calcephpy import *

peph = CalcephBin.open("example1.dat")

# ...  computation ...

peph.close()