Answer the question
In order to leave comments, you need to log in
Compiling a .py file with tkinter via cx_Freeze: what's wrong?
Made a program with tkinter. Tried to use cx_freeze for compilation. setup.exe-
import sys
from cx_Freeze import setup, Executable
build_exe_options = {"packages": ["os"], "excludes": ["tkinter"]}
base = None
if sys.platform == "win32":
base = "Win32GUI"
setup(name = "English Teacher",
version = "1.0",
description = "My application!",
options = {"build_exe": build_exe_options},
executables = [Executable("main.pyw", base = base)])
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question