Convert Python code to EXE?

2015-12-27 10:15 am
Right, so I am coding a chatbot in Python 3.5.1 and I want to put it up for download on my site. The thing is, it is a .py file and requires Python to be opened. How can I convert this to and EXE file instead?

回答 (2)

2015-12-27 11:29 am
✔ 最佳答案
Py2Exe is what you are looking for...

https://wiki.python.org/moin/Py2Exe
2015-12-27 10:20 am
There are various utilities that package the python interpreter in with the code.

Example:
http://www.pyinstaller.org/

That's one of the reasons Python is not really a mainstream programming language, you need the interpreter as well...


收錄日期: 2021-04-21 16:03:21
原文連結 [永久失效]:
https://hk.answers.yahoo.com/question/index?qid=20151227021556AApdMvb

檢視 Wayback Machine 備份