+ 5

Python to exe

I have created a Python program completely. now I want to export it to exe file . how can I do it? It must work on non Python installed computer . is it possible to do that?

11th Feb 2019, 3:10 PM
Janith Nilan
Janith Nilan - avatar
2 Answers
+ 7
Yes, it is possible to do. On command prompt: >>> pip install pyinstaller Then to create your executable, open command prompt in the folder that contains your .py file and execute the command: pyinstaller yourfile.py For more options (output one single file, no console, etc) you should check https://www.pyinstaller.org/ This is a good tutorial: https://youtu.be/lOIJIk_maO4
11th Feb 2019, 3:42 PM
Pedro Tortello
Pedro Tortello - avatar
+ 2
thankyou Tortello
11th Feb 2019, 3:55 PM
Janith Nilan
Janith Nilan - avatar