Skip to content

Commit

Permalink
更新了几个文档
Browse files Browse the repository at this point in the history
  • Loading branch information
jackfrued committed Jul 27, 2018
1 parent 90d1528 commit c2c2786
Show file tree
Hide file tree
Showing 3 changed files with 24 additions and 5 deletions.
18 changes: 18 additions & 0 deletions Day16-20/Python语言进阶.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,20 @@
## Python语言进阶

### 常用数据结构



### 函数的高级用法



### 面向对象高级知识



### 迭代器和生成器



### 并发和异步编程

5 changes: 3 additions & 2 deletions Day31-35/玩转Linux操作系统.md
Original file line number Diff line number Diff line change
Expand Up @@ -801,7 +801,7 @@ Linux系统的命令通常都是如下所示的格式:
- `yum list installed`:列出已经安装的软件包,例如`yum list installed | grep zlib`。
- `yum install`:安装软件包,例如`yum install nginx`。
- `yum remove`:删除软件包,例如`yum remove nginx`。
- `yum update`:更新软件包,例如`yum update`可以更新所有软件包,而`yum update tar只会更新tar
- `yum update`:更新软件包,例如`yum update`可以更新所有软件包,而`yum update tar`只会更新tar
- `yum check-update`:检查有哪些可以更新的软件包。
- `yum info`:显示软件包的相关信息,例如`yum info nginx`。
2. **rpm** - Redhat Package Manager。
Expand Down Expand Up @@ -956,11 +956,12 @@ build environment:
[root@iZwz97tbgo9lkabnat2lo8Z ~]# yum install gcc
[root@iZwz97tbgo9lkabnat2lo8Z ~]# wget https://www.python.org/ftp/python/3.6.5/Python-3.6.5.tgz
[root@iZwz97tbgo9lkabnat2lo8Z ~]# gunzip Python-3.6.5.tgz
[root@iZwz97tbgo9lkabnat2lo8Z ~]# ar -xvf Python-3.6.5.tar
[root@iZwz97tbgo9lkabnat2lo8Z ~]# tar -xvf Python-3.6.5.tar
[root@iZwz97tbgo9lkabnat2lo8Z ~]# cd Python-3.6.5
[root@iZwz97tbgo9lkabnat2lo8Z ~]# ./configure --prefix=/usr/local/python36 --enable-optimizations
[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
[root@iZwz97tbgo9lkabnat2lo8Z ~]# make && make install
... 配置环境变量 ...
[root@iZwz97tbgo9lkabnat2lo8Z ~]# ln -s /usr/local/python36/bin/python3.6 /usr/bin/python3
[root@iZwz97tbgo9lkabnat2lo8Z ~]# python3 --version
Python 3.6.5
Expand Down
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,11 @@

简单的说,Python是一个“优雅”、“明确”、“简单”的编程语言。

- 学习曲线低,适合非专业人士
- 学习曲线低,非专业人士也能上手
- 开源系统,拥有强大的生态圈
- 解释型语言,完美的平台可移植性
- 支持面向对象和函数式编程
- 可扩展性,能调用C/C++代码
- 支持面向对象和函数式编程,动态语言
- 能够通过调用C/C++代码扩展功能
- 代码规范程度高,可读性强

目前几个比较流行的领域,Python都有用武之地。
Expand Down

0 comments on commit c2c2786

Please sign in to comment.