File tree Expand file tree Collapse file tree 3 files changed +24
-5
lines changed Expand file tree Collapse file tree 3 files changed +24
-5
lines changed Original file line number Diff line number Diff line change 11## Python语言进阶
22
3+ ### 常用数据结构
4+
5+
6+
7+ ### 函数的高级用法
8+
9+
10+
11+ ### 面向对象高级知识
12+
13+
14+
15+ ### 迭代器和生成器
16+
17+
18+
19+ ### 并发和异步编程
20+
Original file line number Diff line number Diff line change @@ -801,7 +801,7 @@ Linux系统的命令通常都是如下所示的格式:
801801 - `yum list installed`:列出已经安装的软件包,例如`yum list installed | grep zlib`。
802802 - `yum install`:安装软件包,例如`yum install nginx`。
803803 - `yum remove`:删除软件包,例如`yum remove nginx`。
804- - `yum update`:更新软件包,例如`yum update`可以更新所有软件包,而`yum update tar只会更新tar 。
804+ - `yum update`:更新软件包,例如`yum update`可以更新所有软件包,而`yum update tar`只会更新tar 。
805805 - `yum check-update`:检查有哪些可以更新的软件包。
806806 - `yum info`:显示软件包的相关信息,例如`yum info nginx`。
8078072. **rpm** - Redhat Package Manager。
@@ -956,11 +956,12 @@ build environment:
956956 [root@iZwz97tbgo9lkabnat2lo8Z ~]# yum install gcc
957957 [root@iZwz97tbgo9lkabnat2lo8Z ~]# wget https://www.python.org/ftp/python/3.6.5/Python-3.6.5.tgz
958958 [root@iZwz97tbgo9lkabnat2lo8Z ~]# gunzip Python-3.6.5.tgz
959- [root@iZwz97tbgo9lkabnat2lo8Z ~]# ar -xvf Python-3.6.5.tar
959+ [root@iZwz97tbgo9lkabnat2lo8Z ~]# tar -xvf Python-3.6.5.tar
960960 [root@iZwz97tbgo9lkabnat2lo8Z ~]# cd Python-3.6.5
961961 [root@iZwz97tbgo9lkabnat2lo8Z ~]# ./configure --prefix=/usr/local/python36 --enable-optimizations
962962 [root@iZwz97tbgo9lkabnat2lo8Z ~]# yum -y install zlib-devel bzip2-devel openssl-devel ncurses-devel sqlite-devel readline-devel tk-devel gdbm-devel db4-devel libpcap-devel xz-devel
963963 [root@iZwz97tbgo9lkabnat2lo8Z ~]# make && make install
964+ ... 配置环境变量 ...
964965 [root@iZwz97tbgo9lkabnat2lo8Z ~]# ln -s /usr/local/python36/bin/python3.6 /usr/bin/python3
965966 [root@iZwz97tbgo9lkabnat2lo8Z ~]# python3 --version
966967 Python 3.6.5
Original file line number Diff line number Diff line change 66
77简单的说,Python是一个“优雅”、“明确”、“简单”的编程语言。
88
9- - 学习曲线低,适合非专业人士
9+ - 学习曲线低,非专业人士也能上手
1010 - 开源系统,拥有强大的生态圈
1111 - 解释型语言,完美的平台可移植性
12- - 支持面向对象和函数式编程
13- - 可扩展性,能调用C /C++代码
12+ - 支持面向对象和函数式编程,动态语言
13+ - 能够通过调用C /C++代码扩展功能
1414 - 代码规范程度高,可读性强
1515
1616目前几个比较流行的领域,Python都有用武之地。
You can’t perform that action at this time.
0 commit comments