Converting Python file to EXE | Using pyinstaller Package | Computer Tips

Veröffentlicht am: 29 Januar 2023
auf dem Kanal: Tiny Tips
1,351
21

In this video, I have shown how to convert a python (.py) file to an executable (.exe) file. The python file used in this video is our project on recovering stored wifi SSID credentials from a Windows system. So, the output is a console window where all SSID names with their credentials will be displayed, if there are any.
I have used, pyinstaller package for creating an executable file. The executable created is standalone in nature. It means that one doesn't need to have python or any other dependencies installed on a system to use the executable.
I have also covered the installation of "python" as well as "pip". A problem that may arise with respect to setting the path variable in environment variables is also looked upon.
The video is very simple and easy to follow. I hope it is able to convey the information to the viewer as easily as possible.

Thank you.

Resources:

1. Location to download python:
https://www.python.org/downloads/

2. Current user default installation location for python:
C:\Users\YOUR_USERNAME\AppData\Local\Programs\Python\PYTHON_FOLDER_AS_PER_VERSION

3. Python Installation location for all users:
C:\Program Files\PYTHON_FOLDER_AS_PER_VERSION

4. Command to check the version of python:
python --version

5. The commands used in the video to install pip:
curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py
python get-pip.py

6. Location of manually saving get-pip.py file
https://bootstrap.pypa.io/get-pip.py

7. Command to install pyinstaller package
pip install pyinstaller

8. Command to create exe from python file
pyinstaller --onefile python_file.py

9. Link to my videos on:
Creating python code to recover saved SSID credentials:
Part I -    • Writing Python Code to recover all your st...  
Part II -    • Writing python code to recover all your st...  
GitHub repository - https://github.com/tinytips4u/Python2Exe


Auf dieser Seite können Sie das Online-Video Converting Python file to EXE | Using pyinstaller Package | Computer Tips mit der Dauer stunde minuten sekunde in guter Qualität ansehen, das der Benutzer Tiny Tips 29 Januar 2023 hochgeladen hat, den Link mit Freunden und Bekannten teilen, dieses Video wurde auf Youtube bereits 1,351 Mal angesehen und es wurde von 21 den Zuschauern gefallen. Viel Spaß beim Betrachtenden Zuschauern gefallen!