简体   繁体   English

如何从lib中打包python.py,在main.exe中打包python27.dll

[英]how to pack python .py from Lib and python27.dll in main .exe

I use some python code from c++ code, but when I compile my code to.exe it requires python27.dll and some of.py files from path python/Lib.我使用 c++ 代码中的一些 python 代码,但是当我将代码编译为 .exe 时,它需要 python27.dll 和路径 python/Lib 中的一些.py 文件。 I want to pack this required files in.exe file, how can I do this?我想把这些需要的文件打包成.exe文件,我该怎么做?

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

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