Skip to content

Instantly share code, notes, and snippets.



Created Oct 22, 2017
What would you like to do?
.py to .exe
def main(argv):
the_name = input('Your name, please?\n> ')
print('Hi {} <3'.format(name))
from cx_Freeze import setup, Executable
base = None
executables = [Executable("", base=base)]
options = {
'build_exe': {
# If you have any libraries in your script,
# such as requests, add them here
'packages': [],
# Create exe files with python build
name = "hello-you",
options = options,
version = "0.01",
description = 'Demo script for ',
executables = executables
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.