some python programes to process boi-data