CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Visualization & Post-Processing Software > EnSight

Ensight_Script_compile

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   July 25, 2018, 02:20
Post Ensight_Script_compile
  #1
New Member
 
Viswanathan
Join Date: Jul 2018
Posts: 9
Rep Power: 8
Viswa is on a distinguished road
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

************************************************** **********
Viswa is offline   Reply With Quote

Reply

Tags
compile error, ensight, python script


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On



All times are GMT -4. The time now is 17:55.