Skip to content

How to start an exe file in 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)
See also  Python code snippet - pandas How to start read csv at a certain row?

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.