Create a .pyc file with your script:
>>> import py_compile
>>> py_compile.compile('myscript.py')
This will produce myscript.pyc (c for compiled) that you can distribute instead of the .py (python will run the .pyc).
Part of the externalization of my cognitive functions ... what ?
Create a .pyc file with your script:
>>> import py_compile
>>> py_compile.compile('myscript.py')
Aucun commentaire:
Enregistrer un commentaire