Differences between revisions 5 and 114 (spanning 109 versions)
Revision 5 as of 2005-03-13 21:24:50
Size: 1550
Editor: nat4-15
Comment:
Revision 114 as of 2022-04-15 16:47:51
Size: 3556
Editor: ErinLazzari
Comment:
Deletions are marked like this. Additions are marked like this.
Line 2: Line 2:
Before you start, you will need Python on your computer.
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].
Check whether you already have an up to date version of 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 Python 3.x version will do, as Python makes every attempt to maintain backwards compatibility within major Python versions. Python 2.x and Python 3.x are intentionally not fully compatible. If `python` starts a Python 2.x interpreter, try entering `python3` and see if an up to date version is already installed.
Line 9: Line 6:
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].
On Windows, try `py` first - this is the relatively recent Python Launcher, which has a better chance of avoiding some of the path problems that might occur because on Windows programs don't install into any of the small set of common locations that are searched by default. The Python launcher can also let you select any of the various versions you may have installed from a single command.
Line 13: Line 8:
---- /!\ '''Edit conflict - other version:''' ---- 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. Please see the [[http://www.python.org/downloads/|Python downloads]] page for the most up to date versions of Python. They are available via the yellow download buttons on that page.
Line 15: Line 10:
=== Windows ===
The most stable Windows downloads are available from the [[https://www.python.org/downloads/windows/|Python for Windows]] page. On Windows you have a choice between 32-bit (labeled '''x86''') and and 64-bit (labeled '''x86-64''') versions, and several flavors of installer for each. The Python core team thinks there should be a default you don't have to stop and think about, so the yellow download button on the [[https://www.python.org/downloads/|main download page]] gets you the "x86 executable installer" choice. This is actually a fine choice: you don't ''need'' the 64-bit version even if you have 64-bit Windows, the 32-bit Python will work just fine.
Line 16: Line 13:
---- /!\ '''Edit conflict - your version:''' ---- '''If you're running Windows XP''': a complete guide to installing 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 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 and SciPy distributions. Note that the python.org releases only support versions of Windows that are supported by Microsoft (at the time of the release), so no recent release from python.org can be used on WIndows XP.
Line 18: Line 15:
=== Mac ===
See the [[https://www.python.org/downloads/mac-osx/|Python for Mac OS X]] page. MacOS from 10.2 (Jaguar) to 10.15 (Catalina) includes a system version of Python 2, but it is best not to consider this the Python to use for your programming tasks - install a current Python 3.x version instead. MacOS after 10.15 (Catalina) will not include a default system Python.
Line 19: Line 18:
---- /!\ '''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.
=== Linux ===
'''For Red Hat, CentOS or Fedora''', install the python3 and python3-devel packages.
Line 24: Line 21:
If you're using Linux, Python is probably packaged for your distribution. '''For Debian or Ubuntu''', install the python3.x and python3.x-dev packages.
Line 26: Line 23:
  * For Red Hat, install the python2 and python2-devel packages.
  * For Debian, install the python2.2 and python2.2-dev packages.
'''For Gentoo''', install the '=python-3.x*' ebuild (you may have to unmask it first).
Line 29: Line 25:
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 :)

PS: Horoshije linki :
[http://www.nemarov.com]
[http://unexpectedmovement.b4net.lt]

Nu i privet vsem liudiam iz mojego byvshego universiteta :DDD

PPS: I'm not sure why i can edit this page :) This is a joke or what ? :D
'''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.

Check whether you already have an up to date version of 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 Python 3.x version will do, as Python makes every attempt to maintain backwards compatibility within major Python versions. Python 2.x and Python 3.x are intentionally not fully compatible. If python starts a Python 2.x interpreter, try entering python3 and see if an up to date version is already installed.

On Windows, try py first - this is the relatively recent Python Launcher, which has a better chance of avoiding some of the path problems that might occur because on Windows programs don't install into any of the small set of common locations that are searched by default. The Python launcher can also let you select any of the various versions you may have installed from a single command.

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. Please see the Python downloads page for the most up to date versions of Python. They are available via the yellow download buttons on that page.

Windows

The most stable Windows downloads are available from the Python for Windows page. On Windows you have a choice between 32-bit (labeled x86) and and 64-bit (labeled x86-64) versions, and several flavors of installer for each. The Python core team thinks there should be a default you don't have to stop and think about, so the yellow download button on the main download page gets you the "x86 executable installer" choice. This is actually a fine choice: you don't need the 64-bit version even if you have 64-bit Windows, the 32-bit Python will work just fine.

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. Note that the python.org releases only support versions of Windows that are supported by Microsoft (at the time of the release), so no recent release from python.org can be used on WIndows XP.

Mac

See the Python for Mac OS X page. MacOS from 10.2 (Jaguar) to 10.15 (Catalina) includes a system version of Python 2, but it is best not to consider this the Python to use for your programming tasks - install a current Python 3.x version instead. MacOS after 10.15 (Catalina) will not include a default system Python.

Linux

For Red Hat, CentOS or Fedora, install the python3 and python3-devel packages.

For Debian or Ubuntu, install the python3.x and python3.x-dev packages.

For Gentoo, install the '=python-3.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.

BeginnersGuide/Download (last edited 2022-11-04 18:41:16 by mtreinish)

Unable to edit the page? See the FrontPage for instructions.