+ 2
python Gui | change exe file size | change into pyinstaller
hi friendsđ i use PyQt5 to make GUI programs đ is there any way to change something in pyinstaller when it convert py to exe? for example : i use two TextEdit and a Button when i convert it to exe its size is so big (simple program) ! because pyinstaller puts all of PyQt5 in exe đ can i edit pyinstaller to set just put classes thats i import in python file? its very important to me because i love python and Gui too! and i don't want to get big size program from pyinstaller if another thing can help me please say †thanks from allâ€
1 RĂ©ponse
+ 2
When you convert a python script to exe file using pyinstaller. What it does is that, it bundles Python Interpreter and script's dependencies (In this case PyQt5) into a single stand-alone distribute folder/file (depends upon setting). As far as I know you can't just have classes in it. It doesn't work that way.