Hi @thomaswang, unfortunately the only language bindings that are available for you to use with the ET5 are C,C#,C++ via the Stream Engine or Interaction Library API. In addition, the creation of a wrapper to gather data to pipe to another language is prohibited in end-user licence agreement.
Looking online, there appears to be some flexibility use both languages in the same script as exemplified @ https://medium.com/better-programming/running-python-script-from-c-and-working-with-the-results-843e68d230e5
Our apologies for the inconvenience, hopefully you can find a workaround suitable for your needs. Best Wishes.