微波EDA网,见证研发工程师的成长!
首页 > 研发问答 > 微波和射频技术 > 电磁仿真讨论 > Can HFSS read .pyc Files?

Can HFSS read .pyc Files?

时间:03-30 整理: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.

Copyright © 2017-2020 微波EDA网 版权所有

网站地图

Top