Hi florencewchen.
If your python engine is accessible via the internet, you can use wix-fetch just to call the url with the appropriate parameters, and parse the result in a Promise and update the components you need according to the result.
Regards,
Genry.