Skip to main content
 首页 » 编程设计

python之从 Python 代码创建单个 exe 文件

2025年05月04日7mfrbuaa

<分区>

Possible Duplicate:
py2exe - generate single executable file

我的一个 friend 设法将他编写的一些 Ruby 脚本打包在一个 exe 文件中。当我尝试使用 py2exe 为 Python 脚本做同样的事情时,我还得到了几个 pyd 文件和一个 dll。

是否可以将一个 Python 脚本及其所有 DLL 和 pyd 文件打包到一个 exe 中,并摆脱其他文件?