我应该使用哪个 python 安装?
我即将在编程方面刷新自己,为此我决定使用 Python 2.6。我在网上搜索过,它给了我两个可能的安装程序可供下载。一个来自 Python 站点,另一个来自 Activestate。我应该在 Windows 计算机上安装哪一个?
I'm about to refresh myself in programming and I have decided on Python 2.6 for that. I have searched the net and it gave me two possible installers for download. One is from the Python site and another is from Activestate. Which one should I install on my Windows computer?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(7)
ActiveState 为您提供付费支持。虽然这对某些公司来说可能非常重要/至关重要,但大多数公司都可以使用 python.org 版本,特别是那些进行实验的公司。
还有其他一些疯狂的东西,比如 Stackless Python、Google 在 C++ 中的实现、Cython 等。我想说,这些对你来说并不那么重要,除非速度/高效的多线程是必须的。
使用常规的。 CPython 可能比 C 慢一个数量级,但它工作得很好,而且它是最流行的 Python 实现,所以你知道它的免费版本经过了良好的测试。
ActiveState gives you paid support. While this may be very important / critical to some companies, most do just fine with python.org version, particularly those who experiment.
There are other crazy ones like Stackless Python, Google's implementation in C++, Cython, etc. I would say that those are not that important to you unless speed / efficient multithreading is a must.
Use the regular one. CPython may be an order of magnitude slower than C, but it works just fine AND it is the most popular Python implementation out there, so you know it is well-tested for a free version.
我建议你从python站点下载
I suggest you to download from python site
ActivePython 本质上与 python.org 的发行版相同 - 除了您还可以获得以下内容:
如果您是企业主,那么 ActiveState 还可以提供商业支持 。
ActivePython is essentially the same as python.org's distro - except you also get the following:
If you are a business owner, then ActiveState can also provide commercial support.
如果您想要的只是刷新您的编程技能,那么从官方站点安装版本应该就足够了
If all you want is refresh your programming skill, then installing the version from the official site should be more than enough
从 python.org 下载 Python 2.6 并阅读其教程作为开始。
Download Python 2.6 from the python.org and read its tutorial as a start.
由于您运行的是 Windows,因此您可能还需要安装(在 Python 2.6 之后)Pywin32 - 适用于 Windows 的 Python 扩展:< /a>.它还有一个非常好的 IDE (PythonWin),您可能更喜欢它而不是 IDLE。 Pywin32 的一个版本也可用于 Python 3.x。
Since you're running Windows you may want to also install (after Python 2.6) Pywin32 - Python Extensions for Windows: . It also has a very nice IDE (PythonWin) which you may prefer to IDLE. A version of Pywin32 is also available for Python 3.x.
我也推荐 ACTIVESTATE - 使用标准的 python.org 包,当你想安装包时,你会遇到很多麻烦!
但是要准备好不时被ActiveState咬伤:
他们不提供lxml 免费使用他们的包管理器,您需要营业执照。
I also do recommend ACTIVESTATE - with the standard python.org package you will have lots of trouble when you want to install packages!
BUT be prepared to be bitten from time to time by ActiveState:
they do not provide lxml for free with their package manager, you need a business license.