V
V
Vadim)))2021-08-14 23:03:31
Building projects
Vadim))), 2021-08-14 23:03:31

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

2 answer(s)
S
Sergey Gornostaev, 2021-08-14
@VadimCoder

There is no way, in the resulting binaries there will always be an interpreter.

R
Roman Kitaev, 2021-08-15
@deliro

There is. Write in th

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question