HDA - Import Python Module from extra files

   1139   0   1
User Avatar
Member
4 posts
Joined: May 2015
Offline
Hello, I want to embed my python scripts in HDA.

So, I add test.pyc file to Extra Files Tab. And I want to import this PythonModule in Scripts Tab.

I try to this via hou.readFile(“opdefop/hdaname?test.pyc”), but this cannot read pyc binary file.

Is there any way to import python module in extra file?
  • Quick Links