Search
 
SCRIPT & CODE EXAMPLE
 

PYTHON

code for making an exe file for python

pip install pyinstaller

cd PathOfFile

pyinstaller --onefile -w ScriptName.py

(note that if you are using -w then your python file has to be an application and the file will be inside the "dist" folder)
Comment

python make file executable

if __name__ == "__main__":
    your_function()
Comment

create python executable

pip install pyinstaller
pyinstaller yourprogram.py
Comment

PREVIOUS NEXT
Code Example
Python :: nltk remove more stopwords 
Python :: how to check if an element is in a list python 
Python :: join dataframe pandas by column 
Python :: create or append dataframe to csv python 
Python :: underscore in python 
Python :: how to run python file 
Python :: remove dot from number python 
Python :: adding roles discord py 
Python :: django tempalte tag datetime to timestamp 
Python :: how to power in python 
Python :: sort a dictionary 
Python :: python isset 
Python :: python code to replace first value of txt file 
Python :: how to write a script to display an image in python 
Python :: python tkinter arabic 
Python :: randomly shuffle array python 
Python :: How to rotate the 2D vector by degree in Python: 
Python :: django production 
Python :: how to add new column in csv file using pandas 
Python :: how to for loop for amount in list python 
Python :: calculate days between two dates using python 
Python :: time date year python 
Python :: drop colums whoose value are object type in python 
Python :: zip python 
Python :: remove zeros from decimal python 
Python :: raku fibonacci 
Python :: python last n array elements 
Python :: numpy savetext 
Python :: how to get key value in nested dictionary python 
Python :: how to use drf pagination directly 
ADD CONTENT
Topic
Content
Source link
Name
6+4 =