当前位置: 首页 > news >正文

消防设备网站建设安徽建设教育协会网站

消防设备网站建设,安徽建设教育协会网站,网络营销管理系统,小程序开发文档api分类#xff1a;Python #xff5c; 作者#xff1a;凹凸曼 #xff5c; 发表于2011/03/01Python怎样打包成exe#xff1f;已关闭评论 发现PyInstaller 是个不错的东东#xff0c;解决打包单个exe的问题#xff0c;使用非常简单#xff0c;不用编写setup脚本#xff1…分类Python 作者凹凸曼 发表于2011/03/01Python怎样打包成exe已关闭评论 发现PyInstaller 是个不错的东东解决打包单个exe的问题使用非常简单不用编写setup脚本 进入开发目录执行命令行可以做个bat文件 引用 python d:\pyinstaller-1.3\configure.py python d:\pyinstaller-1.3\Makespec.py client.py –onefile –windowed –iconclient.ico python d:\pyinstaller-1.3\build.py client.spec 就这样一个单独的client.exe就产生了不到3M是压缩前的三分之一如果用wxpython大概会有6M多py2exe压缩的单个exe也差不多这个大小但py2exe并没有把所有的dll打包。pyinstaller打包比较彻底就只有一个exe文件。 生成完后同时有个警告文件内容是 引用 W: no module named posix (conditional import by os) W: no module named optik.__all__ (top-level import by optparse) W: no module named pwd (delayed, conditional import by posixpath) W: no module named MacOS (top-level import by Tkinter) W: no module named posix (delayed, conditional import by iu) W: no module named org (top-level import by copy) W: no module named _emx_link (conditional import by os) W: no module named optik.__version__ (top-level import by optparse) W: __all__ is built strangely at line 0 – __future__ (C:\Python25\lib\__future__.pyc) W: delayed  __import__ hack detected at line 0 – encodings (C:\Python25\lib\encodings\__init__.pyc) W: delayed  exec statement detected at line 0 – Tkinter (C:\Python25\lib\lib-tk\Tkinter.pyc) W: __all__ is built strangely at line 0 – optparse (d:\pyinstaller-1.3\optparse.pyc) W: delayed  exec statement detected at line 0 – socket (C:\Python25\lib\socket.pyc) W: delayed  eval hack detected at line 0 – os (C:\Python25\lib\os.pyc) W: __all__ is built strangely at line 0 – tokenize (C:\Python25\lib\tokenize.pyc) W: delayed conditional exec statement detected at line 0 – iu (d:\pyinstaller-1.3\iu.pyc) W: delayed conditional exec statement detected at line 0 – iu (d:\pyinstaller-1.3\iu.pyc) W: delayed  eval hack detected at line 0 – gettext (C:\Python25\lib\gettext.pyc) W: delayed  __import__ hack detected at line 0 – optik.option_parser (d:\pyinstaller-1.3\optik\option_parser.pyc) W: delayed conditional eval hack detected at line 0 – warnings (C:\Python25\lib\warnings.pyc) W: delayed conditional __import__ hack detected at line 0 – warnings (C:\Python25\lib\warnings.pyc) W: __all__ is built strangely at line 0 – optik (d:\pyinstaller-1.3\optik\__init__.pyc) 不影响程序使用。 打赏作者 支持: 微信支付 支付宝 您的支持将鼓励我们继续创作用 [微信] 扫描二维码打赏用 [支付宝] 扫描二维码打赏 正在跳转到PayPal...
http://www.huolong8.cn/news/79098/

相关文章:

  • 企业网站开发标准深圳网站建设专家
  • 成品网站免费下载深圳网站建设设
  • 网站的发布方案有哪些建筑平面设计图用什么软件
  • 女士手表网站网站打不开 域名做解析
  • 无锡市锡山建设局网站中国移动的5G网站建设给了谁
  • 长沙网站建设哪家好wordpress数据库连接错误
  • 学做网站教程视频在网站上做支付功能 需要什么
  • 免费做电子书的网站有哪些磁业 东莞网站建设
  • 百度商桥网站加不上微信小程序网站建设小图标素材
  • 西安网站建设制作价格低展厅设计手绘图
  • 网站建设商标保护用户服务管理系统
  • 做网站找合作伙伴做网站制作怎么样
  • 小程序怎么生成厦门网站建设优化企业
  • 做视频网站怎么赚钱模拟炒股网站开发
  • 网站正在建设亚洲58同城深圳网站建设
  • 锦州制作网站公司wordpress小微商户支付
  • 旅游网站建设普通论文深圳建站公司 方网站
  • h5网站动画怎么做的100m光纤做网站
  • 打造对外宣传工作平台网站建设百度一下首页设为主页
  • wordpress在线支付株洲网站优化找哪家
  • 网站关键词不稳定谷歌seo是做什么的
  • 个人网站的建设流程网站开发研究热点
  • 建网站和建网店的区别做网站需要哪些人手
  • 忘记网站后台用户名wordpress列表显示文章
  • 大学生兼职网站策划书flash网站建设教程视频
  • 网站建设方案报价单wordpress正文底部版权信息
  • 网站 数据库龙岩市城乡建设局网站进不去
  • 公司做网站如何跟客户介绍什么网站能让小孩做算术题
  • 怎么让百度多收录网站沈阳做网站的公司有哪些
  • 制作大型网站电商网站多少钱