请输入您要查询的百科知识:

 

词条 Py2exe
释义

  1. References

  2. External links

{{Lowercase}}{{Infobox software
| name = py2exe
| latest_release_version = 0.9.2.2 for Python 3 /
{{Start date|df=yes|2014|10|21}}[1]
0.6.9 for Python 2 /
{{Start date|df=yes|2008|11|15}}[2]
| programming language = Python
| platform = Microsoft Windows
| license = MIT[3]
| website = {{URL|http://www.py2exe.org/}}
}}

py2exe is a Python extension which converts Python scripts (.py) into Microsoft Windows executables (.exe). These executables can run on a system without Python installed.[4] It is the most common tool for doing so.

py2exe was used to distribute the official BitTorrent client (prior to version 6.0) and is still used to distribute SpamBayes as well as other projects.

Since May 2014, there is a version of py2exe available for Python 3.[1] Before then, py2exe was made only for Python 2, and it was necessary to use an alternative like cx_Freeze for Python 3 code.

Although this program transforms a .py file to an .exe, it does not make it run faster as py2exe just bundles the Python bytecode rather than converting it to machine-code. It may even run slower than using the Python interpreter directly because of startup overhead.

References

1. ^{{cite web |url=https://pypi.python.org/pypi/py2exe/0.9.2.2 |title=py2exe 0.9.2.2 : Python Package Index |accessdate=1 April 2015}}
2. ^{{cite web |url=http://www.py2exe.org/index.cgi/News |title=News |website=py2exe.org |accessdate=2 February 2014}}
3. ^{{cite web |url=http://sourceforge.net/projects/py2exe/?source=navbar |title=Licence |website=sourceforge.net May 2014}}
4. ^{{cite web |url=http://www.py2exe.org/ |title=FrontPage |website=py2exe.org |accessdate=2 February 2014}}

External links

  • {{Official website|http://www.py2exe.org/}}
  • {{SourceForge|py2exe|py2exe}}
  • Download link
  • Alternative: PyInstaller (also supports GNU/Linux, Mac OS X, and other platforms)
  • Alternative: cx_Freeze
{{Compu-lang-stub}}

3 : Programming tools for Windows|Python software|Software using the MIT license

随便看

 

开放百科全书收录14589846条英语、德语、日语等多语种百科知识,基本涵盖了大多数领域的百科知识,是一部内容自由、开放的电子版国际百科全书。

 

Copyright © 2023 OENC.NET All Rights Reserved
京ICP备2021023879号 更新时间:2024/11/10 11:32:10