python GUI to EXE with image and modules

南笙酒味 提交于 2019-12-25 12:09:56

问题


I have created a Python GUI and trying to convert it to .exe with py2exe. i am using following modules wx,matplotlib,numpy,time,serial,random and a .ico image as logo.

i tried create a setup.py file but it didn't work.need help creating setup file to generate .exe of my GUI.


回答1:


It would be convenient if you could provide some details regarding why the .EXE is not being created. If you can't provide the details then please go through these questions on Stackoverflow, they maybe helpful:

How to build a python package into an exe

Making a standalone .exe file of a python script

Compiling python code into a single exe

Convert Python Script to .exe that will work on all/most versions of Windows

The best thing is to first refer to the official documentation!



来源:https://stackoverflow.com/questions/23045441/python-gui-to-exe-with-image-and-modules

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!