Command prompt disappears with cx_freeze
问题 I am brand new to using cx_freeze for compiling Python files. I am trying to compile my program into an exe, and I need two txt files to go along with it. I am using this as my setup.py code: from cx_Freeze import setup, Executable includesfiles = ['textone.txt', 'texttwo.txt'] includes = [] excludes = [] packages = [] setup( name = "Program", version = "0.1", description = "A fun game.", author = "author", options = {'build_exe': {'excludes':excludes,'packages':packages,'include_files'