Pyinstaller adding splash screen or visual feedback during file extraction

前端 未结 2 1808
傲寒
傲寒 2021-01-02 06:24

I create a single file python application with Pyinstaller using --onefile parameters. Everything work as expected but the startup time is around 10 seconds on my machine. T

2条回答
  •  臣服心动
    2021-01-02 06:37

    One simple solution might be to display the console window after launching the application, which will output the status of the PyInstaller Bootloader while it is being opened.

    To display the console, use the --console flag (or edit the .spec file to contain console = True) when bundling your application. These options are documented in the PyInstaller doc file.

提交回复
热议问题