Scrap/how to compile a pyo.txt
Richard Wright 5f35433c9b Scrap codes
2015-03-01 17:03:11 +00:00

7 lines
No EOL
324 B
Text

1. C:\Python24\python.exe -OO compilescript.py Name the file compile.cmd
2. Make a new file named script.py put
import py_compile
py_compile.compile("FILE NAME OF PY.py")
4. Make a new folder in the python 24 folder put the compile.cmd and script.py and
your file you want to compile in the folder
5. Then run the scripy.py