How to Convert Any Python File to .exe? | GeeksforGeeks

  Рет қаралды 45,552

GeeksforGeeks

GeeksforGeeks

3 жыл бұрын

In this video, we're going to discuss how to convert a Python (.py) file to a .exe file. When you convert a Python file to a .exe file, it basically allows the other individuals to run your Python script without actually installing Python on their respective systems. Here, we'll see two ways to do this particular thing - one is via using the pyinstaller library and another is via using auto-py-to-exe library. So, let's get started now.
Check Out the Related Articles:
Convert Python Script to .exe File [www.geeksforgeeks.org/convert...]
Complete Python Tutorial [www.geeksforgeeks.org/python-...]
Apply For Video Internship Program - script.geeksforgeeks.org/on-b...
Our courses: practice.geeksforgeeks.org/co...
This video is contributed by Shambhavi Gupta.
Please Like, Comment, and Share the Video with your friends.
#python #exefile #geeksforgeeks #howto #projects #beginner #cmd
Install our Android App:
play.google.com/store/apps/de...
If you wish, translate into the local language and help us reach millions of other geeks:
kzbin.info_cs_p...
Follow us on our Social Media Handles -
Twitter- / geeksforgeeks
LinkedIn- / geeksforgeeks
Facebook- / geeksforgeeks.org
Instagram- geeks_for_g...
Reddit- / geeksforgeeks
Telegram- t.me/s/geeksforgeeks_official
Also, Subscribe if you haven't already! :)

Пікірлер: 41
@GeeksforGeeksVideos
@GeeksforGeeksVideos 3 жыл бұрын
Apply For Video Internship Program - script.geeksforgeeks.org/on-boarding/youtube
@vivikanse6005
@vivikanse6005 Жыл бұрын
I have chromedrivermanager inside a python script which will update the Chrome driver on the Chrome version whether this app exe will update this drivers as well in the backend?
@nisanthks011
@nisanthks011 Жыл бұрын
How can we convert set of files..eg for my script..it has py,Pye file, excel file..how to get all when converting
@wilder1996
@wilder1996 9 ай бұрын
When i converted my python file and share to other it shows an error logo.png was not which wass basically my logo image of the application so what i did to overcome save that logo.png file into dist folder then i share with other how can i over with this issue if i have multiple images so how can i do that. Always i have to put image in dist filder and share rar file to others for execution. Please take some time and reply i have been working on this for the last 2 months can you please also make a short video on this.
@Inspiration_video23
@Inspiration_video23 Жыл бұрын
my projects have many python file and one is main which will be run finally so what the process to convert this folder to python exe
@Kittus_Papa
@Kittus_Papa 6 ай бұрын
Will this also make external .txt file which acts as input file for python as a part of .exe bundle?
@mlungisindlela6810
@mlungisindlela6810 Жыл бұрын
Thank you so much. This sight has given me so much help.
@Wkashif1111
@Wkashif1111 11 ай бұрын
What if it keeps saying python file isn't found even when u have saved the python file??
@Dijay_berry
@Dijay_berry Жыл бұрын
THANK YOU SO MUCH YOU ARE THE BEST NOW if any you made my installation easier now i can share my project to my partners thanks alot
@praveendesu
@praveendesu Жыл бұрын
I installed pyinstaller successfully, but I'm getting this error when trying to convert a python file to .exe. Please help. 'pyinstaller' is not recognized as an internal or external command, operable program or batch file.
@raselkhan1384
@raselkhan1384 Жыл бұрын
Reinstall python and add to path.
@sohampatil2742
@sohampatil2742 Жыл бұрын
Open the terminal where you have your python file you want to convert and then execute the command for installing pyinstaller
@Kittus_Papa
@Kittus_Papa 6 ай бұрын
U need to go to folder where pyinstaller.exe is present it will be under scripts folder of python
@NisargV
@NisargV Жыл бұрын
is there any other way to convert it ? please tell this is tough
@subhajitsamanta612
@subhajitsamanta612 Жыл бұрын
okay, but if I have a database file and assets(.png images), then what is the approach to convert .py GUI file to .exe file? Your response will help me.
@darshanpanchal3046
@darshanpanchal3046 Жыл бұрын
You can add files while creating exe
@Kittus_Papa
@Kittus_Papa 6 ай бұрын
How to add file while creating.exe
@DominicNweze
@DominicNweze 2 жыл бұрын
someone, anyone please how do I fix mine. when ever I run the exe file. It quickly opens and closes so fast. I've ene turned of my anit-virus protection and fire wall and it does the same shit. someone please tell me
@codebreadyt
@codebreadyt 2 жыл бұрын
it might be that if your code requires some special files and the file cannot access the files in its trajectory.
@truongthehe
@truongthehe Жыл бұрын
@@codebreadyt It is same to me: in win7 32 it says: NOT compatible. In win7 64: it displayed a flash and OFF with NO thing . I run with no-problem on my win10 which I use to code python project
@vengairajan6904
@vengairajan6904 3 жыл бұрын
Thank you
@Shubham_848Vlog
@Shubham_848Vlog 4 ай бұрын
ERROR: Could not find a version that satisfies the requirement pyintaller (from versions: none) ERROR: No matching distribution found for pyintaller
@tazulislam2698
@tazulislam2698 Жыл бұрын
Will it work on another computer?
@Navs_Music
@Navs_Music Жыл бұрын
Too much of talking pls just explain the context
@mrz3448
@mrz3448 2 жыл бұрын
Great 👍
@i-jamesazubuike9208
@i-jamesazubuike9208 Ай бұрын
Great tutorial, notwithstanding your chinglish, thanks!
@mohitnarwani4821
@mohitnarwani4821 2 жыл бұрын
To add json file also...
@TonyRoyan-tx4xp
@TonyRoyan-tx4xp 2 ай бұрын
Thank you so much 😃😄😁😆
@Secrets772
@Secrets772 2 жыл бұрын
My name is Ryan I am from Kerala I need help in a serious problem I am also a python developer regarding pyinstaller exe building please help
@reshmah1497
@reshmah1497 4 ай бұрын
Useful video
@user-sr1zp8jm2v
@user-sr1zp8jm2v 6 ай бұрын
Nice Job
@marnalaezra0227
@marnalaezra0227 Жыл бұрын
omg , tysm sir
@johnunnunny1373
@johnunnunny1373 3 ай бұрын
Good.
@binigaming
@binigaming 8 ай бұрын
nice work 10q
@user-pl8wn4uh6f
@user-pl8wn4uh6f 8 ай бұрын
Thanks Alooooooooooooooooooooooot
@vijayn6006
@vijayn6006 Жыл бұрын
As like news reading
@amitkumardas9219
@amitkumardas9219 Жыл бұрын
So basically, she said the word 'basically' so many times that basically I was wondering whether she eats, drinks, sleeps, dances and does basically everything thinking of the word 'basically'. Basically I was thinking of counting the number of times she said the word 'basically', but thought that it will take lot of time, so dropped the idea. So basically can anyone count the numer of times she said 'basically' & post here?
@archismanrana
@archismanrana Ай бұрын
Wait le me make a bot to count "Basically" as it's very difficult for a avg person to count the no. of times she said "Basically"
@user-yb5zb1tm6c
@user-yb5zb1tm6c 3 жыл бұрын
First comment
@sheikhraisulislam4483
@sheikhraisulislam4483 Жыл бұрын
use some breathing mam, too much talking
Convert GUI App to Real Program -  Python to exe to setup wizard
23:27
Python Simplified
Рет қаралды 500 М.
How Many Balloons Does It Take To Fly?
00:18
MrBeast
Рет қаралды 170 МЛН
What it feels like cleaning up after a toddler.
00:40
Daniel LaBelle
Рет қаралды 75 МЛН
New model rc bird unboxing and testing
00:10
Ruhul Shorts
Рет қаралды 24 МЛН
Convert Tkinter Python App to Executable (.Exe) File [pyinstaller]
9:11
Code First with Hala
Рет қаралды 137 М.
Convert py to exe - from code to software
5:55
Python Simplified
Рет қаралды 468 М.
Automate your job with Python
6:07
John Watson Rooney
Рет қаралды 384 М.
Convert Python Files To EXE using PyInstaller | PyGame Tutorial
4:25
Coding With Russ
Рет қаралды 83 М.