How to make a standalone application with resources inside in python?

41 views Asked by At

I need to make an application consisting of exactly one exe file, with resources inside (pictures and fonts). The problem is that I write in pure Python, and I don’t know if there're compilers for Python that can pack resources into exe. Please recommend one if you know.

P.S. It's advisable for the compiler to optimize, i.e. that's doesn't drag all the libraries into exe, but took only necessary ones. I'm very afraid that the compiled executable will slow down.

1

There are 1 answers

0
l3on13 On

Check out this website: https://pyinstaller.org/en/stable/, or Google how to pack images into pyinstaller.