PDA

View Full Version : (Effbot.org) How to compile a LWPython script as a *.pyc file



Celshader
09-26-2013, 02:01 PM
Some users like to share their Lscripts as *.lsc (LScript Compiled) scripts. For those interested, LWPython can run *.pyc (Python Compiled) files in addition to *.py files. The *.pyc version of the file will still run in LWPython, but the user will not be able to read it.

This website shows how to generate a compiled version of a *.py script:
http://effbot.org/pyfaq/how-do-i-create-a-pyc-file.htm