我应该使用哪个 python 安装?

发布于 2024-08-19 11:19:56 字数 121 浏览 7 评论 0原文

我即将在编程方面刷新自己,为此我决定使用 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 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(7

旧情勿念 2024-08-26 11:19:57

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.

汐鸠 2024-08-26 11:19:57

I suggest you to download from python site

寻梦旅人 2024-08-26 11:19:57

ActivePython 本质上与 python.org 的发行版相同 - 除了您还可以获得以下内容:

  • PyPM:二进制包来自 ActiveState 的管理器,因此您可以安装额外的模块,而无需自己编译它们。 (查看可用模块
  • 其他软件包:virtualenv、setuptools/easy_install、pip
  • PyWin32 - 从 Python 访问 Windows API
  • 额外文档/教程(Windows 上的 CHM)例如 Dive Into Python、常见问题解答、PEP 等。PythonWin
  • IDE(尽管Komodo Edit 可能更适合一些)

如果您是企业主,那么 ActiveState 还可以提供商业支持

ActivePython is essentially the same as python.org's distro - except you also get the following:

  • PyPM: a binary package manager from ActiveState, so you can install extra modules without having to compile them yourself. (See available modules)
  • Additional packages: virtualenv, setuptools/easy_install, pip
  • PyWin32 - Accessing Windows API from Python
  • Extra documentation/tutorials (CHM on Windows) such as Dive Into Python, FAQs, PEPs, etc..
  • PythonWin IDE (although Komodo Edit may suit some better)

If you are a business owner, then ActiveState can also provide commercial support.

风和你 2024-08-26 11:19:57

如果您想要的只是刷新您的编程技能,那么从官方站点安装版本应该就足够了

If all you want is refresh your programming skill, then installing the version from the official site should be more than enough

另类 2024-08-26 11:19:57

从 python.org 下载 Python 2.6 并阅读其教程作为开始。

Download Python 2.6 from the python.org and read its tutorial as a start.

谜泪 2024-08-26 11:19:57

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.

执妄 2024-08-26 11:19:57

我也推荐 ACTIVESTATE - 使用标准的 python.org 包,当你想安装包时,你会遇到很多麻烦!

但是要准备好不时被ActiveState咬伤:

D:\>pypm search lxml
*** Packages marked [BE] below require a valid
*** Business Edition license to install. Please visit
*** http://www.activestate.com/business-edition for more details.

 domstripper lxml.html based DOM manipulator
 flea        Test WSGI applications using lxml
 gocept.lxml Primarily proivdes zope3 interface definitions for lxml
 lwebstring  lxml-based implementation of webstring, an XML template engine
 [BE] lxml   Powerful and Pythonic XML processing library combining libxml2/libxsl
 [BE] lxml-wrapper          lxml wrapper that simplifies xml generation code.
 [BE] lxmlmiddleware        stack of middleware to deal with a response as a LXML etree
 [BE] lxmlproc              lxml version of xsltproc
 plone.recipe.lxml     Buildout recipe that creates a lxml egg
 repoze.xmliter    Wrapper for ``lxml`` trees which serializes to string upon iteration.
 z3c.recipe.staticlxml A recipe to build lxml

他们不提供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:

D:\>pypm search lxml
*** Packages marked [BE] below require a valid
*** Business Edition license to install. Please visit
*** http://www.activestate.com/business-edition for more details.

 domstripper lxml.html based DOM manipulator
 flea        Test WSGI applications using lxml
 gocept.lxml Primarily proivdes zope3 interface definitions for lxml
 lwebstring  lxml-based implementation of webstring, an XML template engine
 [BE] lxml   Powerful and Pythonic XML processing library combining libxml2/libxsl
 [BE] lxml-wrapper          lxml wrapper that simplifies xml generation code.
 [BE] lxmlmiddleware        stack of middleware to deal with a response as a LXML etree
 [BE] lxmlproc              lxml version of xsltproc
 plone.recipe.lxml     Buildout recipe that creates a lxml egg
 repoze.xmliter    Wrapper for ``lxml`` trees which serializes to string upon iteration.
 z3c.recipe.staticlxml A recipe to build lxml

they do not provide lxml for free with their package manager, you need a business license.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文