Answer the question
In order to leave comments, you need to log in
How to build a 32 bit exe file?
Recommend some methods/libraries to create a 32-bit exe file.
I wanted to convert tkinter code to exe file using pyinstaller. But, as far as I understand, pyinstaller makes the bitness of the file based on the bitness of python itself. That is, to create a 32-bit exe, you need 32-bit python, and I see no point in setting up a separate environment for one small code. If any libraries for creating 32-bit exes?
Answer the question
In order to leave comments, you need to log in
there is a real compiler for python applications into an exe file (more precisely, it first generates c ++ files and they can already be compiled into a binary of the desired architecture) - nuitka
, depending on the use of libraries, it may turn out and even increase (significantly) the speed of the application
The popular python packers in exe simply put the entire python interpreter there (well, it can only select the modules used) along with the script code. This is NOT a real compilation.
So draw your own conclusion whether it is possible to pack the script into a 32-bit executable without having a 32-bit python on the machine.
If there is a full-fledged Python translator in C ++ or a similar honest compiled language, it is not known to me.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question