Can HFSS read .pyc Files?

Status
Not open for further replies.

Daniel Waseem

Newbie level 5
Joined
Sep 12, 2014
Messages
9
Helped
0
Reputation
0
Reaction score
0
Trophy points
1
Visit site
Activity points
57
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.
 

Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…