Size: 1550
Comment:
|
Size: 2383
Comment: wiki restore 2013-01-23
|
Deletions are marked like this. | Additions are marked like this. |
Line 1: | Line 1: |
Line 3: | Line 4: |
Before you start, you need Python on your computer, and you'll probably need to download it. If you're learning Python for the first time, you should download the most recent stable version. This is the one with the highest number that isn't marked as an alpha or beta release. Currently the stable version is [http://www.python.org/2.4/ Python 2.4]. |
|
Line 9: | Line 5: |
If you're running Windows: here's a page with the most stable Windows download: [http://www.python.org/2.4/ Python 2.4 for Windows]. ---- /!\ '''Edit conflict - other version:''' ---- |
Before you start, you will need Python on your computer, but you may not need to download it. |
Line 16: | Line 8: |
---- /!\ '''Edit conflict - your version:''' ---- | First of all check that you don't already have Python installed by entering '''python''' in a command line window. If you see a response from a Python interpreter it will include a version number in its initial display. Generally any recent version will do, as Python makes every attempt to maintain backwards compatibility. |
Line 19: | Line 11: |
---- /!\ '''End of edit conflict''' ---- If you are using a Mac, see the [http://www.cwi.nl/~jack/macpython.html MacPython page]. MacOS 10.2 (Jaguar) and 10.3 (Panther) come with Python already installed. |
If you need to install Python, you may as well download the most recent stable version. This is the one with the highest number that isn't marked as an alpha or beta release. Currently the stable version of Python 2 is [[http://www.python.org/download/releases/2.7.3/|Python 2.7.3]]. The current stable version of Python 3 is [[http://python.org/download/releases/3.2.3/|Python 3.2.3]]. |
Line 24: | Line 13: |
If you're using Linux, Python is probably packaged for your distribution. | |
Line 26: | Line 14: |
* For Red Hat, install the python2 and python2-devel packages. * For Debian, install the python2.2 and python2.2-dev packages. |
For advice on choosing between Python 2 and Python 3 see [[http://wiki.python.org/moin/Python2orPython3|Python 2 or 3]]. |
Line 29: | Line 16: |
For other systems, see the [http://www.python.org/download/ general download page]. --- Voobsche to huinia ostavliat takije dyry v sisteme :) Russkije hakery kotoryje ne znajut chto tvoriat tozhe pobyvali tut :) Takchto vse idut na hui rovnym strojem :) |
|
Line 34: | Line 17: |
PS: Horoshije linki : [http://www.nemarov.com] [http://unexpectedmovement.b4net.lt] |
'''If you're running Windows''': the most stable Windows download (Python 2) is [[http://www.python.org/ftp/python/2.7.3/python-2.7.3.msi|Python 2.7.3 for Windows]]. For Python 3 it is [[http://python.org/ftp/python/3.2.3/python-3.2.3.msi|Python 3.2.3 for Windows]]. |
Line 38: | Line 19: |
Nu i privet vsem liudiam iz mojego byvshego universiteta :DDD | |
Line 40: | Line 20: |
PPS: I'm not sure why i can edit this page :) This is a joke or what ? :D | '''If you're running Windows XP''': a complete guide to installing [[ActivePython|ActivePython]] is at [[http://www.richarddooling.com/index.php/2006/03/14/python-on-xp-7-minutes-to-hello-world/|Python on XP: 7 Minutes To "Hello World!"]]. [[ShowMeDo|ShowMeDo]] has [[http://showmedo.com/videos/series?name=pythonOzsvaldPyNewbieSeries|two videos]] for downloading, installing and getting started with Python on a Windows XP machine - this series talks you through the Python, [[ActivePython|ActivePython]] and [[SciPy|SciPy]] distributions. '''If you are using a Mac''', see [[http://www.python.org/download/mac/|this page]]. MacOS 10.2 (Jaguar), 10.3 (Panther), 10.4 (Tiger) and 10.5 (Leopard) already include various versions of Python. '''For Red Hat''', install the python2 and python2-devel packages. '''For Debian or Ubuntu''', install the python2.x and python2.x-dev packages. '''For Gentoo''', install the '=python-2.x*' ebuild (you may have to unmask it first). '''For other systems''', or '''if you want to install from source''', see the [[http://www.python.org/download/|general download page]]. |
Downloading Python
Before you start, you will need Python on your computer, but you may not need to download it.
First of all check that you don't already have Python installed by entering python in a command line window. If you see a response from a Python interpreter it will include a version number in its initial display. Generally any recent version will do, as Python makes every attempt to maintain backwards compatibility.
If you need to install Python, you may as well download the most recent stable version. This is the one with the highest number that isn't marked as an alpha or beta release. Currently the stable version of Python 2 is Python 2.7.3. The current stable version of Python 3 is Python 3.2.3.
For advice on choosing between Python 2 and Python 3 see Python 2 or 3.
If you're running Windows: the most stable Windows download (Python 2) is Python 2.7.3 for Windows. For Python 3 it is Python 3.2.3 for Windows.
If you're running Windows XP: a complete guide to installing ActivePython is at Python on XP: 7 Minutes To "Hello World!". ShowMeDo has two videos for downloading, installing and getting started with Python on a Windows XP machine - this series talks you through the Python, ActivePython and SciPy distributions.
If you are using a Mac, see this page. MacOS 10.2 (Jaguar), 10.3 (Panther), 10.4 (Tiger) and 10.5 (Leopard) already include various versions of Python.
For Red Hat, install the python2 and python2-devel packages.
For Debian or Ubuntu, install the python2.x and python2.x-dev packages.
For Gentoo, install the '=python-2.x*' ebuild (you may have to unmask it first).
For other systems, or if you want to install from source, see the general download page.