'Is there python command that converts py to exe?
I know that you can simply write "python -m auto_py_to_exe" in cmd or os.system("python -m auto_py_to_exe") in python to convert python file in exe file but what i ask is is there a command that you write like os.convert("file_name",".exe") and that it converts it to .exe without you doing anything?
Solution 1:[1]
I don't know if it coulds be do natively. There are some converters like "pyinstaller" you could install with pip. After you can start a conversion with one line:
pyinstaller options… ~/myproject/source/myscript.py
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|---|
| Solution 1 | Sunderam Dubey |
