Python: write and read CH 76