Skip to content

Latest commit

 

History

History
25 lines (19 loc) · 822 Bytes

Creating a Python Executable with PyInstaller.md

File metadata and controls

25 lines (19 loc) · 822 Bytes

Steps to Create an Executable File from Your Python Script

  1. Install PyInstaller: Open your terminal or command prompt and run the following command to install PyInstaller:
pip install pyinstaller
  1. Navigate to Your Project Directory: Use the cd command to navigate to the folder containing your Python script. Replace the example path with your actual project path:
cd "C:\Users\Chami\Desktop\Smart-Plastic-Bottle-Redemption-System\Project Files"
  1. Create the Executable: Run PyInstaller to generate an executable file from your Python script.
pyinstaller --onefile arduino_communication.py
  1. Locate the Executable: After the process completes, your executable file will be located in the dist folder within your project directory.

Thats it.. Well Done!🔥