# Option 1:
pip install auto-py-to-exe
auto-py-to-exe
# Option 2:
pip install pyinstaller
pyinstaller --onefile yourFile.py
# Option 3:
pip install nuitka
nuitka --one-file yourFile.py
pip install pyinstaller
cd FullPathOfFile in cmd console
pyinstaller --onefile pythonScriptName.py
# a .exe file is created in the FullPathOfFiledist
$ pip install auto-py-to-exe
$ auto-py-to-exe
pyinstaller --onefile filename.py
Install pip using
pip install pyinstaller
in the directory of the source code file run
pyinstaller <file_name>.py
pyinstaller --onefile hello.py
#If You are Using Mac Install Wine And Download The Windows Command Line
#In windows Press Windows Key + R Key
#Type In Cmd
#Then Type The Commands Below
pip install pyinstaller
cd YourFilepath
pyinstaller Nameoffile.py --onefile -w
pip install pyinstaller
pyinsaller -F -w -i icon.ico main.py