3 Respostas
+ 11
what ide do you use ?
if you are using pycharm you can save your file to name.py
if you want to make .exe file you can use py2exe :
py2exe turns Python programs into packages that can be run on other Windows computers without needing to install Python on those computers. Python is needed on the computer where py2exe itself is run because py2exe is a Python program and it includes parts of Python in the package that isbuilt.
+ 2
You can save your file with the python commands with a .py extension. Then, it can be run using "Python filename.py"
+ 1
You can also use pyinstaller. I prefer pyinstaller in creating exe files for distribution.