使用pyinstaller将Python Project转换为独立的.exe

时间:2018-06-09 12:08:37

标签: python python-2.7 exe pyinstaller

我有一个有以下文件的工作python项目:

  1. MyApp.py(主脚本)
  2. crypt.py
  3. MainPAGE_support.py
  4. logo.gif
  5. 当我运行MyApp.py'时,我的GUI应用程序启动并正常运行。

    现在我需要使用pyinstaller进行单个.exe文件的分发。 Web上有很多在线支持,但它们都将一个.py转换为.exe文件。

    我已经尝试过命令

      pyinstaller --onefile \path\MyApp.py
    

    它创建了' MyApp.exe'在C:\ Python27 \ Scripts \ dist中,它在运行时没有任何作用。

    如何将整组文件转换为单个.exe文件?

0 个答案:

没有答案
相关问题