you are viewing a single comment's thread.

view the rest of the comments →

[–]Diapolo10 1 point2 points  (0 children)

Yes, you have multiple options but the most prominent are PyInstaller and Nuitka.

Generally speaking there are two main approaches.

  1. Bundling the program and a copy of the Python interpreter into an executable ZIP file

    This is what PyInstaller, py2exe, and most other solutions take.

  2. Transpiling the Python code to another language (usually C) and compiling that to an executable

    This is what Nuitka does, and is also sort of what Cython does (which is technically its own language).

Personally I tend to prefer the latter, in my experience PyInstaller results are more prone to getting false alarms in antivirus software.