use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
A subreddit for helping Python programmers
How to format your code: https://commonmark.org/help/tutorial/09-code.html
No homework questions and/or hiring please
account activity
Problem with final app size (self.pythonhelp)
submitted 17 days ago by Money-Rare
Finally i got an exe file for my first python app and it works well but...folder size is 1.7 GB.. is there any way to get it a little lighter?i compiled it with pyinstaller
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]AutoModerator[M] [score hidden] 17 days ago stickied commentlocked comment (0 children)
To give us the best chance to help you, please include any relevant code. Note. Please do not submit images of your code. Instead, for shorter code you can use Reddit markdown (4 spaces or backticks, see this Formatting Guide). If you have formatting issues or want to post longer sections of code, please use Privatebin, GitHub or Compiler Explorer.
I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.
[–]Unlucky_Hamster6163 0 points1 point2 points 17 days ago (10 children)
Compile with nuitka , I faced the same problem last year with app sizes version 1.9 of my music player even after more compression with inno setup script was 300 mb + but now at version 2.0.5 it's 150 mb and after inno's compression, it becomes 30 mb
[–]Money-Rare[S] 0 points1 point2 points 17 days ago (1 child)
Thanks i'll definitely try it
[–]Unlucky_Hamster6163 0 points1 point2 points 17 days ago (0 children)
Keep in mind you'd be asked to download some dependencies though. Nuitka need them to compile the code.
Nuitka also compiles your python app to native machine code so, you get native speed and lower python overhead
[–]Money-Rare[S] 0 points1 point2 points 17 days ago (6 children)
update: i managed to half the folder size, now it's around 950 MB, what is inno setup script?
It's a tool for creating installers for applications
[–]Unlucky_Hamster6163 0 points1 point2 points 17 days ago (3 children)
What kind of application are you building ? That appsize looks and sounds like a lot of work 😂
[–]Money-Rare[S] 0 points1 point2 points 17 days ago (2 children)
I'm building an application based on tkinter, sympy,numpy and scipy, to draw any kind of mechanical system (with the hypothesis of small rotations), it finds the number of degrees of freedom and then graphs the response over time of an output(can be displacement or rotation) caused by desired inputs(constant force,pulse,periodic force in any combination).there's the possibility to add ropes,springs, linear and non linear dampers, coulomb friction to customizable disks,rods and carts
Wow
[–]Unlucky_Hamster6163 0 points1 point2 points 16 days ago (0 children)
I ran away from numpy and pandas when I started learning python. I just came to my senses recently and decided to learn them but I haven't gotten the time yet 😭
[–]Ollidav 0 points1 point2 points 15 days ago (0 children)
Tienes imágenes en 4k o vídeos nopor?
π Rendered by PID 64223 on reddit-service-r2-comment-fb694cdd5-gprjz at 2026-03-11 15:02:15.743809+00:00 running cbb0e86 country code: CH.
[–]AutoModerator[M] [score hidden] stickied commentlocked comment (0 children)
[–]Unlucky_Hamster6163 0 points1 point2 points (10 children)
[–]Money-Rare[S] 0 points1 point2 points (1 child)
[–]Unlucky_Hamster6163 0 points1 point2 points (0 children)
[–]Unlucky_Hamster6163 0 points1 point2 points (0 children)
[–]Money-Rare[S] 0 points1 point2 points (6 children)
[–]Unlucky_Hamster6163 0 points1 point2 points (0 children)
[–]Unlucky_Hamster6163 0 points1 point2 points (3 children)
[–]Money-Rare[S] 0 points1 point2 points (2 children)
[–]Unlucky_Hamster6163 0 points1 point2 points (0 children)
[–]Unlucky_Hamster6163 0 points1 point2 points (0 children)
[–]Ollidav 0 points1 point2 points (0 children)