2 ответов
+ 8
It is possible to build an exe with py2exe, pybuilder, cx_freeze or nuitka, for example.
However, all those will not really "compile" it, but rather wrap it into exe with *the whole Python attached*. The Python environment and all necessary modules will be packed into the exe file or into a folder structure with an executable somewhere in it.
It can be run on any machine then (provided the 32/64 bit compatibility), but the size of the package can be really big (30-40 MB) is not surprising.
+ 3
Thanks i found out already and have downloaded it before I read this post, thanks by the way 👍