How to transform a python file into an executable? [duplicate]

0

If I create a python application and want other people to use it, will other people have to install python to run it or is there a way to make it executable? And to create an installer for this application I need to learn another language?

    
asked by anonymous 13.10.2017 / 14:44

1 answer

1

You can use cython as well. There is some gain in perfomance.

cython main_script.py --embed

But I think the simplest solution is to use PyInstaller, it works on Windows, Linux and MacOS. It creates an all-inclusive package (python, libs, and executable).

pyinstaller main_script.py
    
14.10.2017 / 23:07