Can HFSS read .pyc Files?
时间:03-25
整理:3721RD
点击:
I have a couple of python scripts I need to distribute to my coworkers. I do not want them to be able to edit the code. I found that I can make the .py files into pyc executable files. I wanted to know if HFSS would be able to read that code?
HFSS relies on IronPython (see ironpython.net).
.pyc files are generated by the reference python interpreter (cpython) and are not recognized by IronPython.
The latest versions of IronPython include a script called pyc.py which allows to generate executables, but I've never tested it so I can't say more on that one.
My scripts are written in IronPython. I apologize for the confusion there. I have not tried running a .pyc file from HFSS.