Python py to exe 🏃

preview_player
Показать описание
python convert .py to .exe file tutorial example explained

#python #py #exe

***********************************************************
(Windows Defender may prevent you from running)
(make sure pip and pyinstaller are installed/updated)

1. cd to directory that contains your .py file
2. pyinstaller ...
-F (all in 1 file)
-w (removes terminal window)

3. exe is located in the dist folder
***********************************************************

Bro Code merch store 👟 :
===========================================================
===========================================================
Рекомендации по теме
Комментарии
Автор

(Windows Defender may prevent you from running)
(make sure pip and pyinstaller are installed/updated)

1. cd to directory that contains your .py file

2. pyinstaller -F -w -i icon.ico clock.py

-F (all in 1 file)
-w (removes terminal window)
-i icon.ico (adds custom icon to .exe)
clock.py (name of your main python file)

3. exe is located in the dist folder

BroCodez
Автор

Just nearly find your channel. By watching your video occasionally i starting to luffing )) like your vibe, Bro! 👊

trilochandas
Автор

TYSM, Bro, you really helped me, now I can send my projects to other people, even if they do not have a python :).

astrooo
Автор

Mil gracias es súper simple y clara tu explicación.

eduardodelgado
Автор

Help, I have an error.

pyinstaller : The term 'pyinstaller' is not recognized as the name of a cmdlet, function, script file, or operable
program.

I changed the directory and it never worked, I downloaded it with pip, pip3 and py -m pip

omarsplaytimechannel
Автор

ahh yes a very casual "nuclear launch codes" folder casually sitting on ur desktop

Rxkx_
Автор

Today I finished writing my first app with this channel. Thank you very much

zuhriddinmarufjon
Автор

I accidentally placed pyinstaller on the C/admin drive and now my C drive is cramped, what should I do to free up space? Can you help me? I sincerely thank you

uoqmvqy
Автор

bro Nuclear launch codes kills me LOL

iraklil
Автор

Windows defender raised virus alert on my program. Is it a 100% false positive? Or pyinstaller is not safe?

skorpion
Автор

Is it always so bulky?

My 6kb .py file was turned into a 25mb .exe file, which isn't as easy to send around.

Fuzmonster
Автор

I have my .sql file and i place it in the folder where my .py is

Then from that folder i convert .py into .exe then when I drop my database i used my .py into mysql command line hoping that the .sql file i put in the folder will serve as my database. The executable file wont run. I have to import again my .sql file into mysql command line to be able to run my .exe

Please help me

rizaldycesarquimno
Автор

When i transform it into a .exe, my computer can run it well, but in others computers, doesnt work because of the libraries i've imported in my code. How can i solve this?

Laioneel
Автор

this is gonna be so helpful for pranking my family lol

arpanshah
Автор

But why is it so slow to execute. Does that have anything to do with the libraries installed on my machine. Should I make an EXE file from a python file from a virtual environment? Or that is just how EXE works?

teradefense
Автор

Will this work even if I have some other files to build the exe?

Siissioe
Автор

Very good tut, Bro! How could I Put all files and images into the executable?

hilaryeins
Автор

Have installed it but: "'pyinstaller' is not recognized as an internal or external command,
operable program or batch file." Why?

qoig
Автор

i just get 'pyinstaller' is not recognized as an internal or external command,
operable program or batch file.
what should i do?
i installed pyinstaller

PilotTurtle
Автор

"image.png": no such file or directory. sir how to convert with image too?

nasrannaain