简体   繁体   中英

Something that I don't understand about python to executable file

我的意思是,当您将python转换为可执行文件时,如果以下python脚本导入了一些模块,那么如果没有安装没有这些模块的python,任何其他设备将如何运行该可执行文件?

生成的可执行文件实质上是python解释器和已编译(.pyc)文件的打包组合,包括任何可能需要的导入包。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM