python corrected: now correct binary reading