0
Can we use exe extension for python program.if yes mean what happen when .py is replaced by .exe extension.
Uses of .exe.where it was used
1 ответ
+ 8
pip install pyinstaller
pyinstaller file_name.py
This creates an executable of your py prog so that you can run your Python program on a windows machine that does not have the Python intetpreter installed.
If you just rename py to exe, it will not run.