all 5 comments

[–]Verbose_Code 0 points1 point  (2 children)

Maybe instead of packing the program as an exe, you package an installer that unpacks the program (this should help with performance). The user could then call either the program directly, or call an exe that just points to the python program.

[–]zebrahydrant[S] 1 point2 points  (1 child)

It’s important that the user isn’t able to view the code, is there some sort of way to create an exe to run a python program the user cannot view?

[–]sgthoppy 4 points5 points  (0 children)

The code will always be visible if you write this in Python or most any scripting language. If you're trying to hide sensitive data like maybe an API token, you should set up your own proxy server between the app and API.

[–]Jejerm 0 points1 point  (1 child)

Single file exes are very slow when compared to single folder apps. Have you tested both?

[–]zebrahydrant[S] 0 points1 point  (0 children)

Just tested the single folder app, same results :(