/Py2Exe-Converter

Primary LanguagePythonApache License 2.0Apache-2.0

Py2Exe-Converter

For Linux Users:

Follow this guide to easily convert your python scripts to executable files:

  1. Install the py2exe-converter package using the below mentioned command:
pip install py2exe-converter
  1. Now import the package by running the below mentioned command:
import py2exe_converter as pec 

Note: You can use -p requirements.txt along with the above command in order to install all the packages in the .exe file that are used by your .py file.

  1. Now run the following command to convert the .py file to .exe file:
pec.convert('example.py`, `requirements.txt')

Note: Inputting requirements.txt is optional.

  1. Open the example.exe file and confirm that the program is running fine :)

Try Py2Exe-Converterin your browser:

MyBinder-Link