How to create standalone executable file from python 3.5 scripts?

后端 未结 1 1514
灰色年华
灰色年华 2021-02-20 01:16

Most of the programs available only support upto python version 3.4.

1条回答
  •  再見小時候
    2021-02-20 01:48

    You can use PyInstaller which support python 3.5.

    To install it with pip execute in terminal: pip install pyinstaller

    To make the .exe file:

    pyinstaller --onefile script.py
    

    0 讨论(0)
提交回复
热议问题