Can we use exe extension for python program.if yes mean what happen when .py is replaced by .exe extension. | Sololearn: Learn to code for FREE!
¡Nuevo curso! ¡Todo programador debería aprender IA Generativa!
Prueba una lección gratuita
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

15th Dec 2019, 9:01 AM
Yogeshwaran
1 Respuesta
+ 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.
15th Dec 2019, 9:20 AM
Louis
Louis - avatar