Answer the question
In order to leave comments, you need to log in
Is there a normal way to compile a .py file into an .exe so that there is ONE exe file?
When I compile .py to .exe, it always gives a bunch of .dll .spec files and other misunderstandings, since it compiles not the .py file itself, but a piece of the cpython interpreter. Is there a way to specifically compile the .py program file itself?
Answer the question
In order to leave comments, you need to log in
There is no way, in the resulting binaries there will always be an interpreter.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question