本文介绍了py2exe 0.5.0(终于)发布了的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述 29岁程序员,3月因学历无情被辞! ** py2exe 0.5.0 **(最后)发布 =================== ================ py2exe是一个Python distutils扩展,它将python脚本转换为可执行的windows程序,无需安装 python即可运行。 新闻 Python 2.3是必需的,因为使用了新的zipimport功能。 zipimport机制能够处理早期导入的 警告以及由Python完成的编码模块。 创建一个必须完全部署的目录。 py2exe可以在 中创建任意数量的console和gui可执行文件这个目录,加上可选的Windows服务exes,加上 可选的exe和dll com服务器。 com服务器可以公开一个或多个com对象类。 所有纯Python文件都包含在一个zip存档中,其中 由所有可执行文件共享。 zip存档也可能是嵌入Python的程序使用的。由于扩展模块不能从zipfiles导入,因此在zipfile中包含了简单的纯Python加载器 ,它从文件系统加载扩展名 (不要求目录在sys.path中)。 现在从源代码构建py2exe很简单,只要你支持安装了MSVC6 - 没有依赖win32all 来源。 现在创建的可执行文件是标准的PE可执行文件,没有 更长的东西附加到exe部分。 从通常位置下载: < http://starship.python.net/crew/ theller / py2exe> 非常感谢Mark Hammond努力改进COM 支持,并提出并实施了许多新功能。 br /> 享受, Thomas**py2exe 0.5.0** (finally) released===================================py2exe is a Python distutils extension which converts python scriptsinto executable windows programs, able to run without requiring apython installation.NewsPython 2.3 is required, because the new zipimport feature is used.The zipimport mechanism is able to handle the early imports of thewarnings and also the encodings module which is done by Python.Creates a single directory, which must be deployed completely.py2exe can create any number of console and gui executables inthis directory, plus optionally windows service exes, plusoptionally exe and dll com servers. The com servers can exposeone or more com object classes.All pure Python files are contained in a single zip archive, whichis shared by all the executables. The zip archive may also beused by programs embedding Python. Since extension modules cannotbe imported from zipfiles, simple pure Python loaders are includedin the zipfile which load the extensions from the file system(without requiring that the directory is in sys.path).It is now simple to build py2exe from the sources, provided youhave MSVC6 installed - there are no dependencies on win32allsources.The created executables are standard PE executable files now, nolonger is something appended to the exe portion.Download from the usual location:<http://starship.python.net/crew/theller/py2exe>Many thanks to Mark Hammond who worked hard to improve the COMsupport, and suggested and implemented a lot of the new features.Enjoy,Thomas推荐答案 - 威尔克 - http://flibuste.net 这篇关于py2exe 0.5.0(终于)发布了的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持! 上岸,阿里云!