原文链接:https://github.com/Nuitka/Nuitka

 

在Windows上,有两种模式,一种是将其复制到您公司指定的AppData,也将其用作缓存,另一种是在临时目录中进行。您需要执行此操作。

#创建一个二进制文件,将其解压缩到一个临时文件夹中
python -m nuitka --onefile --windows-onefile-tempdir program.py

#创建一个二进制文件解包到贵公司AppData的文件夹上的系统
#并没有被删除,也有更多的选择。
python -m nuitka --onefile --windows-company-name = Change_This --windows-product-version = 1.2.3.4 program.py

 

相关文章:

  • 2022-12-23
  • 2022-02-13
  • 2022-12-23
  • 2021-11-20
  • 2022-02-22
  • 2021-05-17
  • 2022-12-23
  • 2022-01-26
猜你喜欢
  • 2022-03-03
  • 2021-08-08
  • 2021-11-25
  • 2021-11-20
  • 2022-12-23
  • 2022-12-23
  • 2021-12-21
相关资源
相似解决方案