Welcome to HBH! If you had an account on hellboundhacker.org you will need to reset your password using the Lost Password system before you will be able to login.

python to exe - Python Code Bank


python to exe
python script that builds into an exe
                #!/usr/bin/python

import subprocess

build = raw_input("Enter the name of the python script to build into an exe: ")
subprocess.Popen("python Configure.py", shell=True).wait()
subprocess.Popen("python Makespec.py --onefile %s" % (build), shell=True).wait()
buildname = build.replace(".py", "")
subprocess.Popen("Build.py %s/%s.spec" % (buildname,buildname), shell=True).wait()
print "Executable can be found under %s/dist/%s.exe" % (buildname,buildname)
            
Comments
Sorry but there are no comments to display