how to make a python exe
pip install pyinstaller
cd YourFilePath
pyinstaller --onefile YourFileName
how to make a python exe
pip install pyinstaller
cd YourFilePath
pyinstaller --onefile YourFileName
how to convert python file to exe
# for windows only, connot say for other operating systems
open command prompt
type "pip install pyinstaller"
# let it install
after it is installed
locate to the file in cmd(command prompt) using cd
for example : cd /folder/location
after you are in that folder type:
pyinstaller file_name.py --onefile -w
# in place of file_name.py type the file's name you want to convert.
now pyinstaller will give you different type of files
to locate the .exe file you want go into the folder,
then go into dist folder and you will find it.
now you are done! BOYAAH !!
@important note -> if this gives you an error then you need to use py2exe module
# Author Rudra the great
python code to exe file
#first install pyinstaller using
#pip install pyinstaller
#open your cmd
#first change the directory by using
cd The_path_of_your_code in control panel
#then write simple command given below
pyinstaller --onefile your_script_name.py
#now the file will have its exe file in short period of time
python compiler to exe
put this in a .bat file or just run it in CMD
pyinstaller --onefile file_name.py
pyinstaller make exe
1. pip install pyinstaller
2. cd to your file directory in the commandline
3. pyinstaller yourprogram.py
Copyright © 2021 Codeinu
Forgot your account's password or having trouble logging into your Account? Don't worry, we'll help you to get back your account. Enter your email address and we'll send you a recovery link to reset your password. If you are experiencing problems resetting your password contact us