需要使用到的文件wxapp.py, read_file.py, setup.py 复制代码 代码如下:#!/usr/bin/env python# -*- coding: utf-8 -*-#file: wxapp.py import wximport osimport sysimport read_file class Frame(wx.Frame): def __init__(self): wx.Frame.__init__(self, parent=None, title=’Hello from cx_Freeze’) panel = wx.Panel(