CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   EnSight (https://www.cfd-online.com/Forums/ensight/)
-   -   Ensight_Script_compile (https://www.cfd-online.com/Forums/ensight/204501-ensight_script_compile.html)

Viswa July 25, 2018 01:20

Ensight_Script_compile
 
Dear all,

I wrote a script in Ensight and it is working fine.
i saw we can load pyc format also.
i compile py file to pyc using py_compiler.
when i try to load and run script , it showing below error.
how to overcome?
how to protect my script?

************************************************** **********
SyntaxError: Non-ASCII character '\x98' in file C:/Users/lvishwan/.ensight102/macros/ensight.cpython-36.pyc on line 3, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details

************************************************** **********


All times are GMT -4. The time now is 08:42.