Jump to content
Sign in to follow this  
Ravi Shankar Paramasivam

SimLab supports python compile code (*.pyc)

Recommended Posts

SimLab now supports python compile (*.pyc) in Command mode and Auto play mode.

If the user has *.pyc file he can run the file in the latest SimLab 2017.3 delivery.


SimLab Python Command Window: (F4)

                                                                        import runpy

                                                                        Status = runpy.run_path('D:/Scripting/Pressure.pyc')


SimLab Auto Play:

                           Project – Play – Auto




Don’t rename the py file to pyc .Use python command to convert.

python.exe -m compileall  py_file.py


Share this post

Link to post
Share on other sites
This topic is now closed to further replies.
Sign in to follow this  

  • Create New...