: Look in the newly created dist/ folder; your executable will be there. Option 2: Using a Visual Interface (auto-py-to-exe)
Here is a step-by-step guide on how to do it using the industry-standard tool: .
pyinstaller --onefile --icon="assets/myicon.ico" main.py
: Run the following command: pyinstaller --onefile main.py . --onefile : Bundles everything into a single .exe file.
: Look in the newly created dist/ folder; your executable will be there. Option 2: Using a Visual Interface (auto-py-to-exe)
Here is a step-by-step guide on how to do it using the industry-standard tool: . convert py to exe
pyinstaller --onefile --icon="assets/myicon.ico" main.py : Look in the newly created dist/ folder;
: Run the following command: pyinstaller --onefile main.py . --onefile : Bundles everything into a single .exe file. convert py to exe