Self compiling python script? -
so designing program want able recompile script inside program. possible? in addition want able recompile regardless if python installed on machine. insight or recommendations appreciated.
for first part of question:
save file called "hello_world.py"
import os print "hello world" os.system("python hello_world.py")
of course, python doesn't compile.
for second part of question, use cx_freeze, py2app, py2exe, pyinstaller, etc.
Comments
Post a Comment