What are some general tips to reduce the file size for a Pyinstaller
generated executable
I am using Pyinstaller to convert a python script to an executable, the
script contains multiple imports from various packages like
nltk,begin,json and four more. The resulting executable file for a 10 line
code is 54MB which is unrealistically high, I know it packages all modules
in a single file , but does it make it so large as the python script
itself is only 2KB.
What are some general tips to reduce the ".exe" file size?
I am using the command below to convert the script
>pyinstaller.py -F -o output check.py
No comments:
Post a Comment