CodePudding user response:
Fairly good 4 seconds, or don't - F when you pack, it would have been a little bit fast, the best way is to simplify the code, get rid of those unwieldy, inefficient code, at present it is not possible through the tools to help you optimizeCodePudding user response:
Remove the CMD window use pyinstaller - F XXX. Py - noConsole or pyinstaller - F - w XXX. PySee you contains other environmental library files can be get rid of those who do not use under spec file library such as matplotlib library and so on