bluesky

博客园 首页 新随笔 联系 订阅 管理

转载:https://www.modb.pro/db/1795710717492006912

原文链接:

Linux 环境从 Python3.6 升级到 Python3.12:https://www.modb.pro/db/1795710717492006912

 

Linux 环境从 Python3.6 升级到 Python3.12

Python 由荷兰数学和计算机科学研究学会(CWI,见 https://www.cwi.nl/ )的 Guido van Rossum 于 1990 年代初设计,作为一门叫做 ABC 的语言的替代品。尽管 Python 包含了许多来自其他人的贡献,Guido 仍是其主要作者。

1995 年,Guido 在弗吉尼亚州的国家创新研究公司(CNRI,见 https://www.cnri.reston.va.us/ )继续他在 Python 上的工作,并在那里发布了该软件的多个版本。

2000 年五月,Guido 和 Python 核心开发团队转到 BeOpen.com 并组建了 BeOpen PythonLabs 团队。 同年十月,PythonLabs 团队转到 Digital Creations (现为 Zope 公司;见 https://www.zope.org/)。 2001 年,Python 软件基金会 (PSF,见 https://www.python.org/psf/) 成立,这是一个专为拥有 Python 相关知识产权而创建的非营利组织。 Zope 公司现在是 Python 软件基金会的赞助成员。

所有的 Python 版本都是开源的(有关开源的定义参阅 https://opensource.org/ )。历史上,绝大多数 Python 版本是 GPL 兼容的;下表总结了各个版本情况。

图片.png

备注 GPL 兼容并不意味着 Python 在 GPL 下发布。与 GPL 不同,所有 Python 许可证都允许您分发修改后的版本,而无需开源所做的更改。GPL 兼容的许可证使得 Python 可以与其它在 GPL 下发布的软件结合使用;但其它的许可证则不行。

2024 年 4 月 9 日 Python 3.12.3 发布,2023 年 10 月 2 日 Python 3.12.0 发布, 2018 年 12 月 24 日 Python 3.6.8 发布,2016 年 12 月 23 日 Python 3.6.0 发布,等等。目前,Python 3.12 是 Python 编程语言的最新稳定发布版,包含一系列对语言和标准库的改变。库的改变主要集中在清理已弃用的 API、可用性和正确性等方面。值得注意的是,distutils 包已从标准库中移除。os 和 pathlib 中的文件系统支持增加了许多改进,而且部分模块的性能也获得了提升。

语言的改变主要集中在可用性方面,如 f- 字符串 的许多限制已被移除,而 ‘Did you mean …’ 提示消息继续得到改进。新的 类型形参语法 和 type 语句提升了泛型类型和类型别名配合静态类型检查器使用时的效率。

下载软件包
通过官网下载最新的 Python 3.12.3 版本,如下使用的是 OracleLinux 8.7 版本,自带 Python 3.6.8。

https://www.python.org/downloads/

https://www.python.org/downloads/release/python-3123/

Python-3.12.3.tar.xz
图片.png

[root@jiekexu ~]# python3
Python 3.6.8 (default, Oct  5 2022, 16:22:51) 
[GCC 8.5.0 20210514 (Red Hat 8.5.0-15.0.1)] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> 
>>> quit()
[root@jiekexu ~]# cat /etc/redhat-release 
Red Hat Enterprise Linux release 8.7 (Ootpa)
[root@jiekexu ~]# lscpu
Architecture:        x86_64
CPU op-mode(s):      32-bit, 64-bit
Byte Order:          Little Endian
CPU(s):              8
On-line CPU(s) list: 0-7
Thread(s) per core:  1
Core(s) per socket:  1
Socket(s):           8
NUMA node(s):        1
Vendor ID:           GenuineIntel
BIOS Vendor ID:      GenuineIntel
CPU family:          6
Model:               85
Model name:          Intel(R) Xeon(R) Gold 5118 CPU @ 2.30GHz
BIOS Model name:     Intel(R) Xeon(R) Gold 5118 CPU @ 2.30GHz
Stepping:            4
CPU MHz:             2294.609
BogoMIPS:            4589.21
Hypervisor vendor:   VMware
Virtualization type: full
L1d cache:           32K
L1i cache:           32K
L2 cache:            1024K
L3 cache:            16896K
NUMA node0 CPU(s):   0-7

最近新发布的 RHEL 9.4 包含了 Python 3.12, RHEL 9.4 还带了 PG16 和 mariadb10.11。

图片.png

安装编译所需软件包
[root@jiekexu ~]# mount /root/OracleLinux-R8-U7-x86_64-dvd.iso /iso
mount: /iso: WARNING: device write-protected, mounted read-only.

yum install perl-Env libffi-devel openssl openssl-devel tk-devel xz-devel zlib-devel bzip2-devel readline-devel libuuid-devel ncurses-devel
[root@jiekexu ~]#  yum install perl-Env zlib-devel bzip2-devel openssl-devel ncurses-devel sqlite-devel readline-devel tk-devel gcc make libffi-devel -y
Oracle Linux 8                                                                                                                                                42 kB/s | 2.3 kB     00:00    
Oracle Linux 8 AppStream                                                                                                                                     302 kB/s | 2.8 kB     00:00    
Package ncurses-devel-6.1-9.20180224.el8.x86_64 is already installed.
Package readline-devel-7.0-10.el8.x86_64 is already installed.
Package make-1:4.2.1-11.el8.x86_64 is already installed.
Dependencies resolved.
=============================================================================================================================================================================================
 Package                                            Architecture                         Version                                           Repository                                   Size
=============================================================================================================================================================================================
Installing:
 bzip2-devel                                        x86_64                               1.0.6-26.el8                                      ol8_app                                     224 k
 gcc                                                x86_64                               8.5.0-15.0.1.el8                                  ol8_AppStream                                23 M
 libffi-devel                                       x86_64                               3.1-23.el8                                        ol8_app                                      29 k
 openssl-devel                                      x86_64                               1:1.1.1k-7.el8_6                                  ol8_app                                     2.3 M
 sqlite-devel                                       x86_64                               3.26.0-16.el8_6                                   ol8_app                                     165 k
 tk-devel                                           x86_64                               1:8.6.8-1.el8                                     ol8_AppStream                               498 k
 zlib-devel                                         x86_64                               1.2.11-20.el8                                     ol8_app                                      58 k
Installing dependencies:

--##省略中间结果
 Verifying        : xorg-x11-proto-devel-2020.1-3.el8.noarch                                                                                                                          33/33 

Installed:
  bzip2-devel-1.0.6-26.el8.x86_64   cpp-8.5.0-15.0.1.el8.x86_64              expat-devel-2.2.5-10.0.1.el8.x86_64     fontconfig-devel-2.13.1-4.el8.x86_64 freetype-devel-2.9.1-9.el8.x86_64 
  gcc-8.5.0-15.0.1.el8.x86_64       isl-0.16.1-6.el8.x86_64                  keyutils-libs-devel-1.5.10-9.el8.x86_64 krb5-devel-1.18.2-21.0.1.el8.x86_64  libX11-devel-1.6.8-5.el8.x86_64   
  libXau-devel-1.0.9-3.el8.x86_64   libXft-devel-2.3.3-1.el8.x86_64          libXrender-devel-0.9.10-7.el8.x86_64    libcom_err-devel-1.45.6-5.el8.x86_64 libffi-devel-3.1-23.el8.x86_64    
  libkadm5-1.18.2-21.0.1.el8.x86_64 libpng-devel-2:1.6.34-5.el8.x86_64       libselinux-devel-2.9-6.el8.x86_64       libsepol-devel-2.9-3.el8.x86_64      libuuid-devel-2.32.1-38.el8.x86_64
  libverto-devel-0.3.2-2.el8.x86_64 libxcb-devel-1.13.1-1.el8.x86_64         openssl-devel-1:1.1.1k-7.el8_6.x86_64   pcre2-devel-10.32-3.el8_6.x86_64     pcre2-utf16-10.32-3.el8_6.x86_64  
  pcre2-utf32-10.32-3.el8_6.x86_64  sqlite-devel-3.26.0-16.el8_6.x86_64      tcl-1:8.6.8-2.el8.x86_64                tcl-devel-1:8.6.8-2.el8.x86_64       tk-1:8.6.8-1.el8.x86_64           
  tk-devel-1:8.6.8-1.el8.x86_64     xorg-x11-proto-devel-2020.1-3.el8.noarch zlib-devel-1.2.11-20.el8.x86_64        

Complete!

查看原版本 3.6.8
[root@jiekexu ~]# python3
Python 3.6.8 (default, Oct 5 2022, 16:22:51)
[GCC 8.5.0 20210514 (Red Hat 8.5.0-15.0.1)] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>>
>>> quit()
上传安装包并解压
[root@jiekexu ~]# tar -xvf Python-3.12.3.tar.xz
编译安装三部曲
cd Python-3.12.3
./configure

checking for stdlib extension module xxlimited_35... yes
configure: creating ./config.status
config.status: creating Makefile.pre
config.status: creating Misc/python.pc
config.status: creating Misc/python-embed.pc
config.status: creating Misc/python-config.sh
config.status: creating Modules/Setup.bootstrap
config.status: creating Modules/Setup.stdlib
config.status: creating Modules/ld_so_aix
config.status: creating pyconfig.h
configure: creating Modules/Setup.local
configure: creating Makefile
configure:

If you want a release build with all stable optimizations active (PGO, etc),
please run ./configure --enable-optimizations

[root@jiekexu Python-3.12.3]# 

编译
[root@jiekexu Python-3.12.3]# make && make install
/usr/bin/install -c -m 755 Modules/xxlimited_35.cpython-312-x86_64-linux-gnu.so /usr/local/lib/python3.12/lib-dynload/xxlimited_35.cpython-312-x86_64-linux-gnu.so
/usr/bin/install -c -m 644 ./Misc/python.man
/usr/local/share/man/man1/python3.12.1
if test ! -d /usr/local/lib/pkgconfig; then
echo "Creating directory /usr/local/lib/pkgconfig";
/usr/bin/install -c -d -m 755 /usr/local/lib/pkgconfig;
fi
if test -f /usr/local/bin/python3 -o -h /usr/local/bin/python3;
then rm -f /usr/local/bin/python3;
else true;
fi
(cd /usr/local/bin; ln -s python3.12 python3)
if test "3.12" != "3.12"; then
rm -f /usr/local/bin/python3.12-config;
(cd /usr/local/bin; ln -s python3.12-config python3.12-config);
rm -f /usr/local/lib/pkgconfig/python-3.12.pc;
(cd /usr/local/lib/pkgconfig; ln -s python-3.12.pc python-3.12.pc);
rm -f /usr/local/lib/pkgconfig/python-3.12-embed.pc;
(cd /usr/local/lib/pkgconfig; ln -s python-3.12-embed.pc python-3.12-embed.pc);
fi
rm -f /usr/local/bin/python3-config
(cd /usr/local/bin; ln -s python3.12-config python3-config)
rm -f /usr/local/lib/pkgconfig/python3.pc
(cd /usr/local/lib/pkgconfig; ln -s python-3.12.pc python3.pc)
rm -f /usr/local/lib/pkgconfig/python3-embed.pc
(cd /usr/local/lib/pkgconfig; ln -s python-3.12-embed.pc python3-embed.pc)
rm -f /usr/local/bin/idle3
(cd /usr/local/bin; ln -s idle3.12 idle3)
rm -f /usr/local/bin/pydoc3
(cd /usr/local/bin; ln -s pydoc3.12 pydoc3)
rm -f /usr/local/bin/2to3
(cd /usr/local/bin; ln -s 2to3-3.12 2to3)
if test "x" != "x" ; then
rm -f /usr/local/bin/python3-32;
(cd /usr/local/bin; ln -s python3.12-32 python3-32)
fi
if test "x" != "x" ; then
rm -f /usr/local/bin/python3-intel64;
(cd /usr/local/bin; ln -s python3.12-intel64 python3-intel64)
fi
rm -f /usr/local/share/man/man1/python3.1
(cd /usr/local/share/man/man1; ln -s python3.12.1 python3.1)
if test "xupgrade" != "xno" ; then
case upgrade in
upgrade) ensurepip="--upgrade" ;;
install|*) ensurepip="" ;;
esac;
./python -E -m ensurepip
$ensurepip --root=/ ;
fi
Looking in links: /tmp/tmpp4rgxpde
Processing /tmp/tmpp4rgxpde/pip-24.0-py3-none-any.whl
Installing collected packages: pip
Successfully installed pip-24.0
WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv
[root@jiekexu Python-3.12.3]#
查看版本
[root@jiekexu Python-3.12.3]# ./python
Python 3.12.3 (main, May 23 2024, 15:47:07) [GCC 8.5.0 20210514 (Red Hat 8.5.0-15.0.1)] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> quit()

[root@jiekexu Python-3.12.3]# cd /usr/local/bin
[root@jiekexu bin]# pip3 --version
pip 24.0 from /usr/local/lib/python3.12/site-packages/pip (python 3.12)
[root@jiekexu bin]# python3 --version
Python 3.6.8
[root@jiekexu bin]# ll
total 37924
lrwxrwxrwx  1 root root        9 May 23 15:48 2to3 -> 2to3-3.12
-rwxr-xr-x  1 root root      102 May 23 15:48 2to3-3.12
-rwxr-xr-x. 1 root root     6468 May  7 15:18 coraenv
-rwxr-xr-x. 1 root root     2445 May  7 15:18 dbhome
lrwxrwxrwx  1 root root        8 May 23 15:48 idle3 -> idle3.12
-rwxr-xr-x  1 root root      100 May 23 15:48 idle3.12
-rwxr-xr-x. 1 root root     6887 May  7 15:18 oraenv
-rwxr-xr-x  1 root root      230 May 23 15:48 pip3
-rwxr-xr-x  1 root root      230 May 23 15:48 pip3.12
lrwxrwxrwx  1 root root        9 May 23 15:48 pydoc3 -> pydoc3.12
-rwxr-xr-x  1 root root       85 May 23 15:48 pydoc3.12
lrwxrwxrwx  1 root root       10 May 23 15:48 python3 -> python3.12
-rwxr-xr-x  1 root root 38788168 May 23 15:48 python3.12
-rwxr-xr-x  1 root root     3060 May 23 15:48 python3.12-config
lrwxrwxrwx  1 root root       17 May 23 15:48 python3-config -> python3.12-config

自定义 python 路径
在编译完之后,运行 ./python 即是我们最新安装的 python 3.12.3,然后 pip3 也是最新版本,但在其他目录执行 python3 --version 还是 3.6.8。

软链接 python 3.12.3 到 /usr/bin/python

[root@jiekexu bin]# cd /usr/bin
[root@jiekexu bin]# ll python*
lrwxrwxrwx. 1 root root 25 Apr 18 2023 python3 -> /etc/alternatives/python3
lrwxrwxrwx. 1 root root 31 Oct 11 2021 python3.6 -> /usr/libexec/platform-python3.6
lrwxrwxrwx. 1 root root 32 Oct 11 2021 python3.6m -> /usr/libexec/platform-python3.6m

[root@jiekexu bin]# ln -s /root/Python-3.12.3/python python
[root@jiekexu bin]# ll python*
lrwxrwxrwx 1 root root 26 May 23 16:06 python -> /root/Python-3.12.3/python
lrwxrwxrwx. 1 root root 25 Apr 18 2023 python3 -> /etc/alternatives/python3
lrwxrwxrwx. 1 root root 31 Oct 11 2021 python3.6 -> /usr/libexec/platform-python3.6
lrwxrwxrwx. 1 root root 32 Oct 11 2021 python3.6m -> /usr/libexec/platform-python3.6m
[root@jiekexu bin]# python
Python 3.12.3 (main, May 23 2024, 15:47:07) [GCC 8.5.0 20210514 (Red Hat 8.5.0-15.0.1)] on linux
Type "help", "copyright", "credits" or "license" for more information.

quit()
我们退出重新登录一下,发现不管是 python3 还是 python 都已经指向了 python3.12.3 版本。

[root@jiekexu ~]# exit
[root@jiekexu ~]# python3
Python 3.12.3 (main, May 23 2024, 15:47:07) [GCC 8.5.0 20210514 (Red Hat 8.5.0-15.0.1)] on linux
Type "help", "copyright", "credits" or "license" for more information.

quit()
[root@jiekexu ~]#
[root@jiekexu ~]# python
Python 3.12.3 (main, May 23 2024, 15:47:07) [GCC 8.5.0 20210514 (Red Hat 8.5.0-15.0.1)] on linux
Type "help", "copyright", "credits" or "license" for more information.
quit()
彩蛋
折腾了好久,最后都装好了,才知道这个月发布的 Oracle 23ai 版本直接集成了 Python3.12.1,已经在存在于 Oracle_HOME 目录下,我们可以直接进入到 bin 目录下使用,也可以配置环境变量,在整个 Oracle 用户下使用。

[oracle@jiekexu ~]$ cd $ORACLE_HOME/python/bin
[oracle@jiekexu bin]$ ll
total 1204
lrwxrwxrwx 1 oracle oinstall 9 Apr 25 03:43 2to3 -> 2to3-3.12
-rwxr-x--- 1 oracle oinstall 97 Nov 7 2023 2to3-3.12
-rwxr-x--- 1 oracle oinstall 6884 Nov 2 2023 c_rehash
-rwxr-xr-x 1 oracle oinstall 254 May 27 16:29 f2py
-rwxr-xr-x 1 oracle oinstall 255 May 27 17:43 fonttools
lrwxrwxrwx 1 oracle oinstall 8 Apr 25 03:43 idle3 -> idle3.12
-rwxr-x--- 1 oracle oinstall 95 Nov 7 2023 idle3.12
-rwxr-x--- 1 oracle oinstall 1158112 Nov 2 2023 openssl
lrwxrwxrwx 1 oracle oinstall 4 Apr 25 03:43 pip -> pip3
lrwxrwxrwx 1 oracle oinstall 7 Apr 25 03:43 pip3 -> pip3.12
-rwxr-x--- 1 oracle oinstall 225 Nov 7 2023 pip3.12
lrwxrwxrwx 1 oracle oinstall 9 Apr 25 03:43 pydoc3 -> pydoc3.12
-rwxr-x--- 1 oracle oinstall 80 Nov 7 2023 pydoc3.12
-rwxr-xr-x 1 oracle oinstall 252 May 27 17:43 pyftmerge
-rwxr-xr-x 1 oracle oinstall 253 May 27 17:43 pyftsubset
lrwxrwxrwx 1 oracle oinstall 7 Apr 25 03:43 python -> python3
lrwxrwxrwx 1 oracle oinstall 10 Apr 25 03:43 python3 -> python3.12
-rwxr-x--- 1 oracle oinstall 22192 Dec 31 18:11 python3.12
-rwxr-x--- 1 oracle oinstall 3069 Feb 6 20:28 python3.12-config
lrwxrwxrwx 1 oracle oinstall 17 Apr 25 03:43 python3-config -> python3.12-config
-rwxr-xr-x 1 oracle oinstall 250 May 27 17:43 ttx
[oracle@jiekexu bin]$ ./python
Python 3.12.1 (main, Feb 6 2024, 12:09:55) [GCC 8.5.0 20210514 (Red Hat 8.5.0-18.0.6)] on linux
Type "help", "copyright", "credits" or "license" for more information.

quit()

[oracle@jiekexu ~]$ echo "

for python3.12.1

export PYTHONHOME=/opt/oracle/product/23ai/dbhomeFree/python
export PATH=$PYTHONHOME/bin:$PATH
export LD_LIBRARY_PATH=$PYTHONHOME/lib:$LD_LIBRARY_PATH
" >> ~/.bash_profile

[oracle@jiekexu bin]$ python --version
Python 3.12.1
39919.png

Python3.9.5 联网安装
wget https://www.python.org/ftp/python/3.9.5/Python-3.9.5.tar.xz
tar xvf Python-3.9.5.tar.xz

rpm -qa perl-Env
rpm -qa libffi-devel
rpm -qa openssl
rpm -qa openssl-devel
rpm -qa tk-devel
rpm -qa xz-devel
rpm -qa zlib-devel
rpm -qa bzip2-devel
rpm -qa readline-devel
rpm -qa libuuid-devel
rpm -qa ncurses-devel

sudo yum install perl-Env libffi-devel openssl openssl-devel tk-devel xz-devel zlib-devel bzip2-devel readline-devel libuuid-devel ncurses-devel

export PREFIX=pwd/Python-3.9.5
cd $PREFIX
./configure --prefix=$PREFIX --enable-shared

make clean; make
make altinstall

export PYTHONHOME=$PREFIX
export PATH=$PYTHONHOME/bin:$PATH
export LD_LIBRARY_PATH=$PYTHONHOME/lib:$LD_LIBRARY_PATH

cd $PYTHONHOME/bin
ln -s python3.9 python3

$ python3

python3 -m pip install --upgrade pip
附 Python 版本发布情况
Python 3.12.3,文档于 2024 年 4 月 9 日发布。
Python 3.12.2,文档于 2024 年 2 月 6 日发布。
Python 3.12.1,文档于 2023 年 12 月 8 日发布。
Python 3.12.0,文档于 2023 年 10 月 2 日发布。
Python 3.11.9,文档于 2024 年 4 月 2 日发布。
Python 3.11.8,文档于 2024 年 2 月 6 日发布。
Python 3.11.7,文档于 2023 年 12 月 4 日发布。
Python 3.11.6,文档于 2023 年 10 月 2 日发布。
Python 3.11.5,文档于 2023 年 8 月 24 日发布。
Python 3.11.4,文档于 2023 年 6 月 6 日发布。
Python 3.11.3,文档于 2023 年 4 月 5 日发布。
Python 3.11.2,文档于 2023 年 2 月 8 日发布。
Python 3.11.1,文档于 2022 年 12 月 6 日发布。
Python 3.11.0,文档于 2022 年 10 月 24 日发布。
Python 3.10.14,文档于 2024 年 3 月 19 日发布。
Python 3.10.13,文档于 2023 年 8 月 24 日发布。
Python 3.10.12,文档于 2023 年 6 月 6 日发布。
Python 3.10.11,文档于 2023 年 4 月 5 日发布。
Python 3.10.10,文档于 2023 年 2 月 8 日发布。
Python 3.10.9,文档于 2022 年 12 月 6 日发布。
Python 3.10.8,文档于 2022 年 10 月 8 日发布。
Python 3.10.7,文档于 2022 年 9 月 6 日发布。
Python 3.10.6,文档于 2022 年 8 月 8 日发布。
Python 3.10.5,文档于 2022 年 6 月 6 日发布。
Python 3.10.4,文档于 2022 年 3 月 24 日发布。
Python 3.10.3,文档于 2022 年 3 月 16 日发布。
Python 3.10.2,文档于 2022 年 1 月 14 日发布。
Python 3.10.1,文档于 2021 年 12 月 6 日发布。
Python 3.10.0,文档于 2021 年 10 月 4 日发布。
Python 3.9.19,文档于 2024 年 3 月 19 日发布。
Python 3.9.18,文档于 2023 年 8 月 24 日发布。
Python 3.9.17,文档于 2023 年 6 月 6 日发布。
Python 3.9.16,文档于 2022 年 12 月 6 日发布。
Python 3.9.15,文档于 2022 年 10 月 11 日发布。
Python 3.9.14,文档于 2022 年 9 月 6 日发布。
Python 3.9.13,文档于 2022 年 5 月 17 日发布。
Python 3.9.12,文档于 2022 年 3 月 24 日发布。
Python 3.9.11,文档于 2022 年 3 月 16 日发布。
Python 3.9.10,文档于 2022 年 1 月 14 日发布。
Python 3.9.9,文档于 2021 年 11 月 15 日发布。
Python 3.9.8,文档于 2021 年 11 月 5 日发布。
Python 3.9.7,文档于 2021 年 8 月 30 日发布。
Python 3.9.6,文档于 2021 年 6 月 28 日发布。
Python 3.9.5,文档于 2021 年 5 月 3 日发布。
Python 3.9.4,文档于 2021 年 4 月 4 日发布。
Python 3.9.3,文档于 2021 年 4 月 2 日发布。
Python 3.9.2,文档于 2021 年 2 月 19 日发布。
Python 3.9.1,文档于 2020 年 12 月 8 日发布。
Python 3.9.0,文档于 2020 年 10 月 5 日发布。
Python 3.8.19,文档于 2024 年 3 月 19 日发布。
Python 3.8.18,文档于 2023 年 8 月 24 日发布。
Python 3.8.17,文档于 2023 年 6 月 6 日发布。
Python 3.8.16,文档于 2022 年 12 月 6 日发布。
Python 3.8.15,文档于 2022 年 10 月 11 日发布。
Python 3.8.14,文档于 2022 年 9 月 6 日发布。
Python 3.8.13,文档于 2022 年 3 月 16 日发布。
Python 3.8.12,文档于 2021 年 8 月 30 日发布。
Python 3.8.11,文档于 2021 年 6 月 28 日发布。
Python 3.8.10,文档于 2021 年 5 月 3 日发布。
Python 3.8.9,文档于 2021 年 4 月 2 日发布。
Python 3.8.8,文档于 2021 年 2 月 19 日发布。
Python 3.8.7,文档于 2020 年 12 月 21 日发布。
Python 3.8.6,文档于 2020 年 9 月 23 日发布。
Python 3.8.5,文档于 2020 年 7 月 20 日发布。
Python 3.8.4,文档于 2020 年 7 月 13 日发布。
Python 3.8.3,文档于 2020 年 5 月 13 日发布。
Python 3.8.2,文档于 2020 年 2 月 24 日发布。
Python 3.8.1,文档于 2019 年 12 月 18 日发布。
Python 3.8.0,文档于 2019 年 10 月 14 日发布。
Python 3.7.17,文档于 2023 年 6 月 6 日发布。
Python 3.7.16,文档于 2022 年 12 月 6 日发布。
Python 3.7.15,文档于 2022 年 10 月 11 日发布。
Python 3.7.14,文档于 2022 年 9 月 6 日发布。
Python 3.7.13,文档于 2022 年 3 月 16 日发布。
Python 3.7.12,文档于 2021 年 9 月 4 日发布。
Python 3.7.11,文档于 2021 年 6 月 28 日发布。
Python 3.7.10,文档于 2021 年 2 月 15 日发布。
Python 3.7.9,文档于 2020 年 8 月 17 日发布。
Python 3.7.8,文档于 2020 年 6 月 27 日发布。
Python 3.7.7,文档于 2020 年 3 月 10 日发布。
Python 3.7.6,文档于 2019 年 12 月 18 日发布。
Python 3.7.5,文档于 2019 年 10 月 15 日发布。
Python 3.7.4,文档于 2019 年 7 月 8 日发布。
Python 3.7.3,文档于 2019 年 3 月 25 日发布。
Python 3.7.2,文档于 2018 年 12 月 24 日发布。
Python 3.7.1,文档于 2018 年 10 月 20 日发布。
Python 3.7.0,文档于 2018 年 6 月 27 日发布。
Python 3.6.15,文档于 2021 年 9 月 4 日发布。
Python 3.6.14,文档于 2021 年 6 月 28 日发布。
Python 3.6.13,文档于 2021 年 2 月 15 日发布。
Python 3.6.12,文档于 2020 年 8 月 17 日发布。
Python 3.6.11,文档于 2020 年 6 月 27 日发布。
Python 3.6.10,文档于 2019 年 12 月 18 日发布。
Python 3.6.9,文档于 2019 年 7 月 2 日发布。
Python 3.6.8,文档于 2018 年 12 月 24 日发布。
Python 3.6.7,文档于 2018 年 10 月 20 日发布。
Python 3.6.6,文档于 2018 年 6 月 27 日发布。
Python 3.6.5,文档于 2018 年 3 月 28 日发布。
Python 3.6.4,文档于 2017 年 12 月 19 日发布。
Python 3.6.3,文档于 2017 年 10 月 3 日发布。
Python 3.6.2,文档于 2017 年 7 月 17 日发布。
Python 3.6.1,文档于 2017 年 3 月 21 日发布。
Python 3.6.0,文档于 2016 年 12 月 23 日发布。
Python 3.5.10,文档于 2020 年 9 月 5 日发布。
Python 3.5.8,文档于 2019 年 11 月 1 日发布。
Python 3.5.7,文档于 2019 年 3 月 18 日发布。
Python 3.5.6,文档于 2018 年 8 月 8 日发布。
Python 3.5.5,文档于 2018 年 2 月 4 日发布。
Python 3.5.4,文档于 2017 年 7 月 25 日发布。
Python 3.5.3,文档于 2017 年 1 月 17 日发布。
Python 3.5.2,文档于 2016 年 6 月 27 日发布。
Python 3.5.1,文档于 2015 年 12 月 7 日发布。
Python 3.5.0,文档于 2015 年 9 月 13 日发布。
Python 3.4.10,文档于 2019 年 3 月 18 日发布。
Python 3.4.9,文档于 2018 年 8 月 8 日发布。
Python 3.4.8,文档于 2018 年 2 月 4 日发布。
Python 3.4.7,文档于 2017 年 7 月 25 日发布。
Python 3.4.6,文档于 2017 年 1 月 17 日发布。
Python 3.4.5,文档于 2016 年 6 月 26 日发布。
Python 3.4.4,文档于 2015 年 12 月 6 日发布。
Python 3.4.3,文档于 2015 年 2 月 25 日发布。
Python 3.4.2,文档于 2014 年 10 月 4 日发布。
Python 3.4.1,文档于 2014 年 5 月 18 日发布。
Python 3.4.0,文档于 2014 年 3 月 16 日发布。
Python 3.3.7,文档于 2017 年 9 月 19 日发布。
Python 3.3.6,文档于 2014 年 10 月 12 日发布。
Python 3.3.5,文档于 2014 年 3 月 9 日发布。
Python 3.3.4,文档于 2014 年 2 月 9 日发布。
Python 3.3.3,文档于 2013 年 11 月 17 日发布。
Python 3.3.2,文档于 2013 年 5 月 15 日发布。
Python 3.3.1,文档于 2013 年 4 月 7 日发布。
Python 3.3.0,文档发布于 2012 年 9 月 29 日。
Python 3.2.6,文档于 2014 年 10 月 11 日发布。
Python 3.2.5,文档于 2013 年 5 月 15 日发布。
Python 3.2.4,文档于 2013 年 4 月 7 日发布。
Python 3.2.3,文档于 2012 年 4 月 10 日发布。
Python 3.2.2,文档于 2011 年 9 月 4 日发布。
Python 3.2.1,文档于 2011 年 7 月 10 日发布。
Python 3.2,文档发布于 2011 年 2 月 20 日。
Python 3.1.5,文档于 2012 年 4 月 9 日发布。
Python 3.1.4,文档发布于 2011 年 6 月 11 日。
Python 3.1.3,文档于 2010 年 11 月 27 日发布。
Python 3.1.2,文档发布于 2010 年 3 月 21 日。
Python 3.1.1,文档发布于 2009 年 8 月 17 日。
Python 3.1,文档发布于 2009 年 6 月 27 日。
Python 3.0.1,文档于 2009 年 2 月 13 日发布。
Python 3.0,文档发布于 2008 年 12 月 3 日。
Python 2.7.18,文档于 2020 年 4 月 20 日发布
Python 2.7.17,文档于 2019 年 10 月 19 日发布
Python 2.7.16,文档于 2019 年 3 月 2 日发布
Python 2.7.15,文档于 2018 年 4 月 30 日发布
Python 2.7.14,文档于 2017 年 9 月 16 日发布
Python 2.7.13,文档于 2016 年 12 月 17 日发布
Python 2.7.12,文档于 2016 年 6 月 26 日发布。
Python 2.7.11,文档于 2015 年 12 月 5 日发布。
Python 2.7.10,文档于 2015 年 5 月 23 日发布。
Python 2.7.9,文档于 2014 年 12 月 10 日发布。
Python 2.7.8,文档于 2014 年 7 月 1 日发布。
Python 2.7.7,文档发布于 2014 年 5 月 31 日。
Python 2.7.6,文档于 2013 年 11 月 10 日发布。
Python 2.7.5,文档于 2013 年 5 月 15 日发布。
Python 2.7.4,文档于 2013 年 4 月 6 日发布。
Python 2.7.3,文档于 2012 年 4 月 9 日发布。
Python 2.7.2,文档于 2011 年 6 月 11 日发布。
Python 2.7.1,文档发布于 2010 年 11 月 27 日。
Python 2.7,文档于 2010 年 7 月 4 日发布。
Python 2.6.9,文档于 2013 年 10 月 29 日发布。
Python 2.6.8,文档发布于 2012 年 4 月 10 日。
Python 2.6.7,文档于 2011 年 6 月 3 日发布。
Python 2.6.6,文档发布于 2010 年 8 月 24 日。
Python 2.6.5,文档发布于 2010 年 3 月 19 日。
Python 2.6.4,文档发布于 2009 年 10 月 25 日。
Python 2.6.3,文档于 2009 年 10 月 2 日发布。
Python 2.6.2,文档发布于 2009 年 4 月 14 日。
Python 2.6.1,文档于 2008 年 12 月 4 日发布。
Python 2.6,文档于 2008 年 10 月 1 日发布。
Python 2.5.4,文档发布于 2008 年 12 月 23 日。
Python 2.5.3,文档发布于 2008 年 12 月 19 日。
Python 2.5.2,文档发布于 2008 年 2 月 21 日。
Python 2.5.1,文档发布于 2007 年 4 月 18 日。
Python 2.5,文档发布于 2006 年 9 月 19 日。
Python 2.4.4,文档发布于 2006 年 10 月 18 日。
Python 2.4.3,2006 年 3 月 29 日发布的文档。
Python 2.4.2,文档发布于 2005 年 9 月 28 日。
Python 2.4.1,文档发布于 2005 年 3 月 30 日。
Python 2.4,文档发布于 2004 年 11 月 30 日。
Python 2.3.5,文档于 2005 年 2 月 8 日发布。
Python 2.3.4,文档发布于 2004 年 5 月 27 日。
Python 2.3.3,文档发布于 2003 年 12 月 19 日。
Python 2.3.2,文档发布于 2003年10月3日。
Python 2.3.1,文档发布于 2003年9月23日。
Python 2.3,文档发布于 2003年7月29日。
Python 2.2.3,文档发布于 2003年5月30日。
Python 2.2.2,文档发布于 2002年10月14日。
Python 2.2.1,文档发布于 2002年4月10日。
Python 2.2p1,文档发布于 2002年3月29日。
Python 2.2,文档发布于 2001年12月21日。
Python 2.1.3,文档发布于 2002年4月8日。
Python 2.1.2,文档发布于 2002年1月16日。
Python 2.1.1,文档发布于 2001年7月20日。
Python 2.1,文档发布于 2001年4月15日。
Python 2.0.1,文档发布于 2001年6月22日。
Python 2.0,文档发布于 2000年10月16日。
Python 1.6,文档发布于 2000年9月5日。
Python 1.5.2p2,文档发布于 2000年3月22日。
Python 1.5.2p1,文档发布于 1999年7月6日。
Python 1.5.2,文档发布于 1999年4月30日。
Python 1.5.1p1,文档发布于 1998年8月6日。
Python 1.5.1,文档发布于 1998年4月14日。
Python 1.5,文档发布于 1998年2月17日。
Python 1.4,文档发布于 1996年10月25日。

posted on 2025-03-15 15:36  蓝蓝的天~  阅读(128)  评论(0)    收藏  举报