Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
P
Python-100-Days
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
huangkq
Python-100-Days
Commits
c2c2786a
Commit
c2c2786a
authored
Jul 27, 2018
by
jackfrued
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
更新了几个文档
parent
90d1528f
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
24 additions
and
5 deletions
+24
-5
Python语言进阶.md
Day16-20/Python语言进阶.md
+18
-0
玩转Linux操作系统.md
Day31-35/玩转Linux操作系统.md
+3
-2
README.md
README.md
+3
-3
No files found.
Day16-20/Python语言进阶.md
View file @
c2c2786a
## Python语言进阶
## Python语言进阶
### 常用数据结构
### 函数的高级用法
### 面向对象高级知识
### 迭代器和生成器
### 并发和异步编程
Day31-35/玩转Linux操作系统.md
View file @
c2c2786a
...
@@ -801,7 +801,7 @@ Linux系统的命令通常都是如下所示的格式:
...
@@ -801,7 +801,7 @@ Linux系统的命令通常都是如下所示的格式:
- `yum list installed`:列出已经安装的软件包,例如`yum list installed | grep zlib`。
- `yum list installed`:列出已经安装的软件包,例如`yum list installed | grep zlib`。
- `yum install`:安装软件包,例如`yum install nginx`。
- `yum install`:安装软件包,例如`yum install nginx`。
- `yum remove`:删除软件包,例如`yum remove 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 check-update`:检查有哪些可以更新的软件包。
- `yum info`:显示软件包的相关信息,例如`yum info nginx`。
- `yum info`:显示软件包的相关信息,例如`yum info nginx`。
2. **rpm** - Redhat Package Manager。
2. **rpm** - Redhat Package Manager。
...
@@ -956,11 +956,12 @@ build environment:
...
@@ -956,11 +956,12 @@ build environment:
[
root@iZwz97tbgo9lkabnat2lo8Z ~
]
# yum install gcc
[
root@iZwz97tbgo9lkabnat2lo8Z ~
]
# yum install gcc
[
root@iZwz97tbgo9lkabnat2lo8Z ~
]
# wget https://www.python.org/ftp/python/3.6.5/Python-3.6.5.tgz
[
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 ~
]
# gunzip Python-3.6.5.tgz
[
root@iZwz97tbgo9lkabnat2lo8Z ~
]
# ar -xvf Python-3.6.5.tar
[
root@iZwz97tbgo9lkabnat2lo8Z ~
]
#
t
ar -xvf Python-3.6.5.tar
[
root@iZwz97tbgo9lkabnat2lo8Z ~
]
# cd Python-3.6.5
[
root@iZwz97tbgo9lkabnat2lo8Z ~
]
# cd Python-3.6.5
[
root@iZwz97tbgo9lkabnat2lo8Z ~
]
# ./configure --prefix=/usr/local/python36 --enable-optimizations
[
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 ~
]
# 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 ~
]
# make && make install
... 配置环境变量 ...
[
root@iZwz97tbgo9lkabnat2lo8Z ~
]
# ln -s /usr/local/python36/bin/python3.6 /usr/bin/python3
[
root@iZwz97tbgo9lkabnat2lo8Z ~
]
# ln -s /usr/local/python36/bin/python3.6 /usr/bin/python3
[
root@iZwz97tbgo9lkabnat2lo8Z ~
]
# python3 --version
[
root@iZwz97tbgo9lkabnat2lo8Z ~
]
# python3 --version
Python 3.6.5
Python 3.6.5
...
...
README.md
View file @
c2c2786a
...
@@ -6,11 +6,11 @@
...
@@ -6,11 +6,11 @@
简单的说,Python是一个“优雅”、“明确”、“简单”的编程语言。
简单的说,Python是一个“优雅”、“明确”、“简单”的编程语言。
-
学习曲线低,
适合非专业人士
-
学习曲线低,
非专业人士也能上手
-
开源系统,拥有强大的生态圈
-
开源系统,拥有强大的生态圈
-
解释型语言,完美的平台可移植性
-
解释型语言,完美的平台可移植性
-
支持面向对象和函数式编程
-
支持面向对象和函数式编程
,动态语言
-
可扩展性,能调用C/C++代码
-
能够通过调用C/C++代码扩展功能
-
代码规范程度高,可读性强
-
代码规范程度高,可读性强
目前几个比较流行的领域,Python都有用武之地。
目前几个比较流行的领域,Python都有用武之地。
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment