python - the fastest startup interface GUI
仅有的幸福
仅有的幸福 2017-05-16 13:24:57
0
4
888

I wrote a relatively large program using pyqt. After packaging, it starts very slowly, about 3 to 10 seconds. The python packaging mechanism requires that all modules must be loaded before starting the program, so adding a startup interface to python also It depends on the entire python program and pyqt library to run, so it is of no use.
How to quickly start a loading startup interface window? It should be implemented in other languages, right?

仅有的幸福
仅有的幸福

reply all (4)
阿神

For the win platform, use C to directly adjust CreateWindow[Ex] to ensure it flies. I don’t understand other platforms

    过去多啦不再A梦

    C language adjustment win32api

      淡淡烟草味

        伊谢尔伦

        Are you using PyInstaller? If so, try using onedir mode. The default is onefile, which will cause the slow loading phenomenon you mentioned.

          Latest Downloads
          More>
          Web Effects
          Website Source Code
          Website Materials
          Front End Template
          About us Disclaimer Sitemap
          php.cn:Public welfare online PHP training,Help PHP learners grow quickly!