change python reading routines

- check this