Readbin for python. work in progress