@Li, Zhenzhong , to get started, I would suggest looking at something like logic apps. You can configure a OneDrive for Business connector to pull the file and a custom API connector that will contain your hosted Python code.
There are numerous prebuilt templates that will allow to you quickly bootstrap your logic app and add or modify the customizations you need to suit your business needs.