how to make .py executable code example
Example 1: pyinstaller make exe
1. pip install pyinstaller
2. cd to your file directory in the commandline
3. pyinstaller yourprogram.py
Example 2: how to make .exe from.py
pip install pyinstaller
Example 3: python make file executable
if __name__ == "__main__":
your_function()