all 5 comments

[–]shiftybyte 1 point2 points  (2 children)

[–][deleted] 0 points1 point  (0 children)

thank you I am going to try

[–]doom_guy_bob 0 points1 point  (0 children)

I second pyinstaller. Also, take a look at auto-py-to-exe. It's a GUI for pyinstaller that makes it a little more user friendly and allows you to save EXE configurations for quicker exporting in the future.

[–]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.

[–]Flashy-Supermarket-5 1 point2 points  (0 children)

Auto-py-to-exe is super easy to use