Size: 3629
Comment:
|
← Revision 116 as of 2022-11-04 18:41:16 ⇥
Size: 3120
Comment: Add links to Python documentation setup and usage guide.
|
Deletions are marked like this. | Additions are marked like this. |
Line 1: | Line 1: |
---- /!\ '''Edit conflict - other version:''' ---- * [http://www.5ijipiao.com 机票] * [http://www.5ijipiao.com 国际机票] * [http://www.5ijipiao.com 飞机票] * [http://5ijipiao.com 国际机票] * [http://www.5ijipiao.com/bj/ 北京机票] * [http://www.5ijipiao.com/sh/ 上海机票] * [http://www.5ijipiao.com/gz/ 广州机票] * [http://www.5ijipiao.com/cd/ 成都机票] * [http://www.5ijipiao.com/cq/ 重庆机票] * [http://www.5ijipiao.com/km/ 昆明机票] * [http://www.5ijipiao.com/sz/ 深圳机票] * [http://www.5ijipiao.com/hz/ 杭州机票] * [http://www.5ijipiao.com/xa/ 西安机票] * [http://www.5ijipiao.com/dl/ 大连机票] * [http://www.5ijipiao.com/tj/ 天津机票] * [http://www.5ijipiao.com/gjjp.asp 国际机票] * [http://www.5ijipiao.com/dzjp.asp 打折机票] * [http://www.5ijipiao.com/tjjp.asp 特价机票] * [http://www.5ijipiao.com/xsjp.asp 学生机票] * [http://www.jipiao126.com 特价机票] * [http://www.jipiao126.com 国际机票] * [http://www.jipiao126.com 打折机票] * [http://www.canjipiao.com 广州机票] * [http://www.canjipiao.com 广州打折机票] * [http://www.canjipiao.com 广州特价机票] * [http://www.bjxiongfei.com 北京机票] * [http://www.bjxiongfei.com 北京飞机票] * [http://www.bjxiongfei.com 北京特价机票] * [http://www.jipiaoair.com 特价机票] * [http://www.jipiaoair.com/jipiao.html 机票] * [http://www.jipiaoair.com/guojijipiao.html 国际机票] * [http://www.jipiaoair.com/tejiajipiao.html 特价机票] * [http://www.jipiaoair.com/dazhejipiao.html 打折机票] * [http://www.jipiaoair.com/shanghai/jipiao.html 上海机票] * [http://www.jipiaoair.com/beijing/jipiao.html 北京机票] * [http://www.jipiaoair.com/guangzhou/jipiao.html 广州机票] |
== Downloading Python == |
Line 39: | Line 3: |
---- /!\ '''Edit conflict - your version:''' ---- * [http://www.5ijipiao.com 机票] * [http://www.5ijipiao.com 国际机票] * [http://www.5ijipiao.com 飞机票] * [http://5ijipiao.com 国际机票] * [http://www.5ijipiao.com/bj/ 北京机票] * [http://www.5ijipiao.com/sh/ 上海机票] * [http://www.5ijipiao.com/gz/ 广州机票] * [http://www.5ijipiao.com/cd/ 成都机票] * [http://www.5ijipiao.com/cq/ 重庆机票] * [http://www.5ijipiao.com/km/ 昆明机票] * [http://www.5ijipiao.com/sz/ 深圳机票] * [http://www.5ijipiao.com/hz/ 杭州机票] * [http://www.5ijipiao.com/xa/ 西安机票] * [http://www.5ijipiao.com/dl/ 大连机票] * [http://www.5ijipiao.com/tj/ 天津机票] * [http://www.5ijipiao.com/gjjp.asp 国际机票] * [http://www.5ijipiao.com/dzjp.asp 打折机票] * [http://www.5ijipiao.com/tjjp.asp 特价机票] * [http://www.5ijipiao.com/xsjp.asp 学生机票] * [http://www.jipiao126.com 特价机票] * [http://www.jipiao126.com 国际机票] * [http://www.jipiao126.com 打折机票] * [http://www.canjipiao.com 广州机票] * [http://www.canjipiao.com 广州打折机票] * [http://www.canjipiao.com 广州特价机票] * [http://www.bjxiongfei.com 北京机票] * [http://www.bjxiongfei.com 北京飞机票] * [http://www.bjxiongfei.com 北京特价机票] * [http://www.jipiaoair.com 特价机票] * [http://www.jipiaoair.com/jipiao.html 机票] * [http://www.jipiaoair.com/guojijipiao.html 国际机票] * [http://www.jipiaoair.com/tejiajipiao.html 特价机票] * [http://www.jipiaoair.com/dazhejipiao.html 打折机票] * [http://www.jipiaoair.com/shanghai/jipiao.html 上海机票] * [http://www.jipiaoair.com/beijing/jipiao.html 北京机票] * [http://www.jipiaoair.com/guangzhou/jipiao.html 广州机票] |
On many systems Python comes pre-installed, you can try running the `python` command to start the Python interpreter to check and see if it is already installed. On windows you can try the `py` command which is a launcher which is more likely to work. If it is installed you will see a response which will include the version number, for example: |
Line 77: | Line 8: |
---- /!\ '''End of edit conflict''' ---- | {{{ Python 3.9.6 (tags/v3.9.6:db3ff76, Jun 28 2021, 15:26:21) [MSC v.1929 64 bit (AMD64)] on win32 Type "help", "copyright", "credits" or "license" for more information. }}} If you don't see this, you will need to install Python on your system. If the version number is Python 2.x.y (where `x` and `y` are any number) you are using Python 2 which is no longer supported and is not a good choice for development. You can try running `python3` to see if there is also a Python 3.x.y version installed, if not you'll want to install the latest version of Python. If you do not have Python installed or need a newer version you can go to: https://www.python.org/downloads/ which will provide a button to download an installer for your particular system. The Python documentation also has a detailed guide on how to install and setup Python here: https://docs.python.org/3/using/index.html Below are some system specific notes to keep in mind. === Windows === On Windows the most stable build is available from the official download page https://www.python.org/downloads/ You should download and run the installer from that page to get the latest version of Python for your system. You can refer to the Python documentation for more details on the installation process and getting started: https://docs.python.org/3/using/windows.html === Mac === For macOS 10.9 (Jaguar) up until 12.3 (Catalina) the operating system includes Python 2, which is no longer supported and is not a good choice for development. You should go to do the downloads page: https://www.python.org/downloads/ and download the installer. For newer versions of macOS, Python is no longer included by default and you will have to download and install it. You can refer to the Python documentation for more details on the installation process and getting started: https://docs.python.org/3/using/mac.html === Linux === On most Linux distributions Python comes pre-installed and/or available via the distribution's package managers. Below are some common examples, but refer to your specific distribution's documentation and package list to get the most up to date instructions. If you'd like to download and build Python from source (or your distribution's package manager does not include a version of Python you need) you can download a source tarball from the general download page: https://www.python.org/downloads/ ==== Red Hat, CentOS, or Fedora ==== {{{ dnf install python3 python3-devel }}} ==== Debian or Ubuntu ==== {{{ apt-get install python3 python3-dev }}} ==== Gentoo ==== {{{ emerge dev-lang/python }}} ==== Arch Linux ==== {{{ pacman -S python3 }}} |
Downloading Python
On many systems Python comes pre-installed, you can try running the python command to start the Python interpreter to check and see if it is already installed. On windows you can try the py command which is a launcher which is more likely to work. If it is installed you will see a response which will include the version number, for example:
Python 3.9.6 (tags/v3.9.6:db3ff76, Jun 28 2021, 15:26:21) [MSC v.1929 64 bit (AMD64)] on win32 Type "help", "copyright", "credits" or "license" for more information.
If you don't see this, you will need to install Python on your system.
If the version number is Python 2.x.y (where x and y are any number) you are using Python 2 which is no longer supported and is not a good choice for development. You can try running python3 to see if there is also a Python 3.x.y version installed, if not you'll want to install the latest version of Python.
If you do not have Python installed or need a newer version you can go to:
https://www.python.org/downloads/
which will provide a button to download an installer for your particular system. The Python documentation also has a detailed guide on how to install and setup Python here:
https://docs.python.org/3/using/index.html
Below are some system specific notes to keep in mind.
Windows
On Windows the most stable build is available from the official download page
https://www.python.org/downloads/
You should download and run the installer from that page to get the latest version of Python for your system. You can refer to the Python documentation for more details on the installation process and getting started:
https://docs.python.org/3/using/windows.html
Mac
For macOS 10.9 (Jaguar) up until 12.3 (Catalina) the operating system includes Python 2, which is no longer supported and is not a good choice for development. You should go to do the downloads page: https://www.python.org/downloads/ and download the installer.
For newer versions of macOS, Python is no longer included by default and you will have to download and install it. You can refer to the Python documentation for more details on the installation process and getting started:
https://docs.python.org/3/using/mac.html
Linux
On most Linux distributions Python comes pre-installed and/or available via the distribution's package managers. Below are some common examples, but refer to your specific distribution's documentation and package list to get the most up to date instructions.
If you'd like to download and build Python from source (or your distribution's package manager does not include a version of Python you need) you can download a source tarball from the general download page: https://www.python.org/downloads/
Red Hat, CentOS, or Fedora
dnf install python3 python3-devel
Debian or Ubuntu
apt-get install python3 python3-dev
Gentoo
emerge dev-lang/python
Arch Linux
pacman -S python3