checksum calculation python script

Job ID: 32535697

Budget: $30 – $250 USD

i want a python script to manipulate an srecord format executable :
1- to calculate checksum from certain address to another certain one 8bit/16bbit/32bit
2- to check the calculated checksum if it is right compared with computed one