1. Python installation
1. Download address: https://www.python.org/downloads/release/python-365/
2. The Linux system comes with Python 2.7. If you need to install 3.6, download the compressed package Python-3.6.5.tgz and compile it:
(1) Before installing python, you need to install the required dependency modules
1 yum -y install zlib zlib-devel 2 yum -y install bzip2 bzip2-devel 3 yum -y install ncurses ncurses-devel 4 yum -y install readline readline-devel 5 yum -y install openssl openssl-devel 6 yum -y install openssl-static 7 yum -y install xz lzma xz-devel 8 yum -y install sqlite sqlite-devel 9 yum -y install gdbm gdbm-devel 10 yum -y install tk tk-devel
(2) Decompression
$ tar -xvzf Python-3.6.5.tgz
(3) Configure the installation directory
$ cd Python-3.6.5
$ ./configure --prefix=/usr/python
(4) Compile
$ make
$ make install
(5) 5~10 minutes after installation and inspection
$ python --version
3. Click Next for Windows and MacOS installation packages (environment variables need to be configured)
4. Be familiar with the use of IDLE, python's command-line interactive environment
5. Recommended IDE tools
sublime_text3
PyCharm