2010-01-24 122 views
8

我正準備在編程中更新自己,我決定使用Python 2.6。我搜索了網絡,它給了我兩個可能的安裝程序下載。一個來自Python站點,另一個來自ActiveState。我應該在Windows電腦上安裝哪一個?我應該使用哪種python安裝?

+0

爲什麼不使用Python 2.7? – 2011-02-21 18:53:26

+0

也許是因爲2。7在發佈這個問題六個月後發佈,'未來的進口'不是那麼複雜 – foosion 2011-02-22 15:31:34

回答

6

ActiveState爲您提供付費支持。雖然這對於一些公司來說可能是非常重要/關鍵的,但大多數人對python.org版本都很滿意,特別是那些試驗過的人。

還有其他像Stackless Python,Google在C++,Cython等中的實現。我會說那些對你來說並不重要,除非速度/高效的多線程是必須的。

使用常規的。 CPython可能比C慢一個數量級,但它工作得很好,它是目前最流行的Python實現,所以你知道它已經過免費版本的測試。

+2

ActivePython與ActivePerl&ActiveTcl一樣是一個很好的發行版。 – 2010-01-24 06:47:45

1

如果你想要的是刷新你的編程技能,然後從official現場安裝的版本應該是綽綽有餘

1

下載的Python 2.6從python.org並讀取其教程作爲開始。

6

ActivePython是基本相同python.org的發行版 - 除了你也可以得到如下:

  • PyPM:一個二進制包從ActiveState公司經理,這樣你就可以不必對它們進行編譯安裝額外的模塊你自己。 (See available modules
  • 附加軟件包:virtualenv中,setuptools的/的easy_install,PIP
  • PyWin32 - 從Python的訪問Windows API
  • 額外的文檔/教程(CHM在Windows上),如深入Python,常見問題解答,政治公衆人物等。 。
  • PythonWin的IDE(雖然Komodo Edit可能適合一些更好)

如果你是一個企業的老闆,那麼ActiveState公司也provide commercial support可以。

1

由於您運行的是Windows,因此您可能還想安裝(在Python 2.6之後)Pywin32 - Python Extensions for Windows:。它也有一個非常好的IDE(PythonWin),你可能更喜歡IDLE。 Pywin32的一個版本也可用於Python 3.x.

0

我也建議使用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免費使用他們的包管理器,你需要一個營業執照。

+0

你可以修改你的答案,因爲lxml現在可以通過PyPM自由安裝嗎? http://code.activestate.com/pypm/lxml/ – 2011-04-05 16:15:40

+0

不適用於64位版本。 – toofarsideways 2012-07-10 00:56:14