Skip to content

Commit cef1bc0

Browse files
overmind1980overmind1980
authored andcommitted
2023/4/4
1 parent 1308ee2 commit cef1bc0

445 files changed

Lines changed: 96135 additions & 0 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
Lines changed: 215 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,215 @@
1+
---
2+
show: step
3+
version: 1.0
4+
enable_checker: true
5+
---
6+
7+
# 先跑起来 🥊
8+
9+
## Python
10+
11+
#### 什么是 Python?
12+
13+
- `Python`
14+
- [ˈpaɪθɑ:n]
15+
- 是 一门 适合初学者 的编程语言
16+
- 应用领域 非常广泛
17+
18+
![图片描述](https://doc.shiyanlou.com/courses/uid1190679-20210219-1613741920318)
19+
20+
- 特别是 人工智能领域
21+
- python已经 成为标配
22+
23+
### 后来居上
24+
25+
- 可以看到 python的热度
26+
- 在不断提升
27+
- 已经超过了java
28+
29+
![图片描述](https://doc.shiyanlou.com/courses/uid1190679-20210302-1614680976240)
30+
31+
- 目前 python是热度最高的语言
32+
33+
### 历史辉煌
34+
35+
- 在 世界编程语言排名(`tiobe`)中
36+
- 三次成为 年度编程语言
37+
38+
![图片描述](https://doc.shiyanlou.com/courses/uid1190679-20210302-1614681460201)
39+
40+
- 专业杂志《LinuxJournal》
41+
- 2009-2011年 评选python为
42+
- 最喜欢的编程语言
43+
- 2006-2008、2010、2011 评选python为
44+
- 最喜欢的脚本语言
45+
- python这么厉害
46+
- 我们应该如何用python编程呢?
47+
48+
### 从零开始
49+
- 大部分的程序员 都要从终端里面
50+
- 开启python编程之旅的
51+
- 右边浏览器里
52+
- 运行着一个linux系统的虚拟机
53+
- 虚拟机的桌面环境 是 xfce
54+
- 发音为x-f-c-e
55+
- 四个字母 `一个一个`读
56+
- `xf`orms `c`ommon `e`nvironment
57+
58+
![图片描述](https://doc.shiyanlou.com/courses/uid1190679-20220830-1661828357352)
59+
60+
- 如上图 打开 `xfce终端`(terminal)
61+
62+
![图片描述](https://doc.shiyanlou.com/courses/uid1190679-20230211-1676119435200)
63+
64+
- 究竟什么是终端呢?
65+
66+
### 终端
67+
68+
- 各种系统
69+
- 都有 `终端`
70+
- terminal
71+
- windows系统
72+
- cmd
73+
- powershell
74+
- wezTerm
75+
76+
![图片描述](https://doc.shiyanlou.com/courses/uid1190679-20230211-1676118376556)
77+
78+
- mac系统
79+
- termimal
80+
- iterm2
81+
82+
![图片描述](https://doc.shiyanlou.com/courses/uid1190679-20230211-1676118387887)
83+
84+
- linux
85+
- xfce terminal
86+
87+
![图片描述](https://doc.shiyanlou.com/courses/uid1190679-20230211-1676118407108)
88+
89+
- 为什么要在linux环境里面
90+
- 用终端写python呢?
91+
92+
### 系统的选择
93+
94+
- 在服务器领域
95+
- linux一直领先windows
96+
97+
![图片描述](https://doc.shiyanlou.com/courses/uid1190679-20230325-1679754112318)
98+
99+
- 尤其是超高性能计算机
100+
- 都用linux
101+
102+
![图片描述](https://doc.shiyanlou.com/courses/uid1190679-20230325-1679754158647)
103+
104+
- linux是
105+
- 实战环境
106+
- 是真正的战场
107+
108+
### 终端与云端
109+
110+
- 通过`终端`
111+
- 可以 远程登录 到云上
112+
- 玩 `云端`的东西
113+
- 云端 就是
114+
- 远程的服务器
115+
116+
![图片描述](https://doc.shiyanlou.com/courses/uid1190679-20230227-1677497757633)
117+
118+
- 终端上 有界面 壳(shell)
119+
- 壳与核(kernel)相对
120+
- 通过 `s`ecurity `sh`ell(安全终端)
121+
- 远程登录 云端服务器
122+
- 就可以让 服务器 做各种事情
123+
- 服务器 和 我们常用的 个人电脑
124+
- 有什么区别吗?
125+
126+
### 服务器
127+
128+
- 个人电脑
129+
- 用鼠标点击图标和菜单组成的图形界面
130+
131+
![图片描述](https://doc.shiyanlou.com/courses/uid1190679-20230325-1679754529631)
132+
133+
- 服务器 使用敲命令和代码的方式
134+
- 执行任务
135+
- 我们叫它纯命令行终端
136+
137+
![图片描述](https://doc.shiyanlou.com/courses/uid1190679-20230325-1679754699525)
138+
139+
### 实战环境
140+
141+
- 我们选择在linux上面
142+
- 使用终端运行程序
143+
- 而不是
144+
- 在非实战环境中学习
145+
146+
![图片描述](https://doc.shiyanlou.com/courses/uid1190679-20230325-1679754444633)
147+
148+
- 因为我们要面向应用
149+
- 到最终的实战环境去
150+
- 真正地把python跑起来
151+
152+
- 可以离开 图形界面
153+
- 直接使用 `纯命令行终端` 么?
154+
155+
### 纯终端
156+
157+
- 打开 左侧的边栏
158+
- 左上角 有个倒计时
159+
- 不用 担心时间
160+
- 到时间了 有提示 可以续
161+
- 点击 切换界面 - 字符
162+
- 进入了 纯命令行终端
163+
164+
![图片描述](https://doc.shiyanlou.com/courses/uid1190679-20220830-1661828396648)
165+
166+
- 和 桌面终端进入 很像
167+
- 不同点 是
168+
- 纯命令行方式
169+
- 没有 图形用户界面(GUI)
170+
- 只有 命令行接口(CLI)
171+
172+
### 酷😎
173+
174+
- 打开了 黑色异世界
175+
- 这里 是 `一切开始的地方`!!!
176+
177+
![图片描述](https://doc.shiyanlou.com/courses/uid1190679-20220830-1661822828451)
178+
179+
- 实际上
180+
- 这异世界 也是 `工作生活的地方`!!!
181+
- 少用 图形用户界面(GUI)
182+
- `G`raphic `U`ser `I`nterface
183+
- 多用命令行界面(CLI)
184+
- `C`ommand `L`ine `I`nterface
185+
- 才能 了解 根本
186+
187+
### 根本
188+
189+
- 图形界面 是
190+
- 给`命令行`穿的一些好看的衣服
191+
- `命令行` 才是 根本骨架
192+
193+
![图片描述](https://doc.shiyanlou.com/courses/uid1190679-20220830-1661828698901)
194+
195+
- 我们 要去研究根本
196+
- 你 有信心 `走到底` 么???
197+
198+
## 总结
199+
200+
- 这次 了解基本环境
201+
- GUI
202+
- CLI
203+
- 使用 终端
204+
- 具体说 就是 xfce终端
205+
- 终端 是我们 连接云端的登陆点
206+
- 在终端里
207+
- 通过shell 这个壳子
208+
- 控制 云端的核
209+
- 管理 云端的资源
210+
211+
![图片描述](https://doc.shiyanlou.com/courses/uid1190679-20220830-1661829248204)
212+
213+
- 到现在 也没看到`python` 啊!😠
214+
- 说好的`python`教程呢?🤔
215+
- 我们 下次再说!👋

0 commit comments

Comments
 (0)