Dear Ahmed

Unfortunately, I'm not expert on python but you can ask a python consultant to help you in this issue.