How to turn a python file into an executable?

Asked

Viewed 1,131 times

0

If I create an application in python and want other people to be able to use it, will other people have to install python in order 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?

  • 1

    Dude, take a look at this topic and see if it helps you: https://answall.com/questions/13806/como-crea-um-executavel-exe-em-python

  • Help yes, thank you.

1 answer

1


You can use cython as well. Is there any performance gain.

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

Browser other questions tagged

You are not signed in. Login or sign up in order to post.