[oeasy]python0041_teletype历史_博多码_shift_capslock_字符数字切换_gear
teletypewriter 历史回忆上次内容上次见到了一个真的机械打字机感受到了蒸汽朋克的时代背景上上次区分了一些概念terminal终端,电脑连线最终的端点TeleTYpewriter,电传打印机,终端硬件shell,终端硬件基础上的软件壳子Console 控制台,直接连接主机的控制面板换行和回车是两回事换行 对应字节0x0ALine-Feed 的意思是水平不动、垂直向上喂纸所以是feed回....
![[oeasy]python0041_teletype历史_博多码_shift_capslock_字符数字切换_gear](https://ucc.alicdn.com/images/user-upload-01/img_convert/3196a5b0d3008ff973602efbd7dd09b1.png)
[oeasy]python0040_换行与回车的不同_通用换行符_universal_newlines
换行回车回忆上次内容区分概念terminal终端主机网络中最终的 端点TeleTYpewriter电传打印机终端硬件shell终端硬件基础上的软件壳子Console 控制台主机旁边 的 控制面板存储文件 的 时候我 在文件里 打了回车\n系统 将0x0a存入字节 进文件换行 自动就有 回车功能 了吗?回忆一下被忽略的 \r\r\r 也是一个 ascii字符\是转义字符\r是转义序列什么是 转义 ....
![[oeasy]python0040_换行与回车的不同_通用换行符_universal_newlines](https://ucc.alicdn.com/images/user-upload-01/img_convert/eaa4d3c7e696434abdf114869cb474cb.png)
[oeasy]python0037_终端_terminal_电传打字机_tty_shell_控制台_console_发展历史
换行回车回忆上次内容换行 和 回车 是两回事换行对应字节0x0ALine-Feed水平 不动垂直 向上喂纸所以是 feed回车对应字节0x0DCarriage-Return垂直 不动水平 回到纸张左侧可移动的打印头运输字符 的 装置 (Carriage)回到 行首所以是 Returntty、terminal、shell、console好像 都叫 终端有什么 不一样 吗?区分 几个概念Consol....
![[oeasy]python0037_终端_terminal_电传打字机_tty_shell_控制台_console_发展历史](https://ucc.alicdn.com/images/user-upload-01/img_convert/a179fa07b2ffc7ec947baa05df1524c4.png)
[oeasy]python0037_电传打字机_打印头_print_head_carriage_词源 [oeasy]python0037_电传打字机_打印头_print_head_carriage_词源
换行回车回忆上次内容上次我们diy了 自己的小动物还可以 让小动物 变色、报时还可以 说些话这很亚文化很酷炫的亚文化不是吗?回忆一下最开始 研究报时 的 时候回到 本行行头 的 方法print(“\r”+ascii_time)\r 与 \n 不同从含义上 来看\n - LF - LineFeed - 换行\r - CR - CarriageReturn - 回车换行 和 回车具体 有什么不同吗?....
![[oeasy]python0037_电传打字机_打印头_print_head_carriage_词源 [oeasy]python0037_电传打字机_打印头_print_head_carriage_词源](https://ucc.alicdn.com/images/user-upload-01/img_convert/a6a2686916497b5bfbcbb5a9148f42fe.png)
[oeasy]python0037_字符画艺术_asciiview_自制小动物_imagick_asciiart
牛说(cowsay)回忆上次内容我们狂飙了一路从用shell 直接执行 python程序到用shell 循环执行 python程序循环体中把 python的 输出结果用管道 交给了 figlet把 figlet的 输出结果用管道 交给了 cowsay把 cowsay的 输出结果用管道 交给了 lolcat最后提权 直接运行 shell程序这一路真的好远啊!python3 是脚本解释器....
![[oeasy]python0037_字符画艺术_asciiview_自制小动物_imagick_asciiart](https://ucc.alicdn.com/images/user-upload-01/img_convert/97e6c68194ce220e4bc7183811230632.png)
[oeasy]python0036_牛说_cowsay_小动物说话_asciiart_figlet_lolcat_管道(祝大家新年快乐~)
牛说(cowsay)回忆上次内容上次我们研究了shell脚本的编程并且在shell中实现了循环语句延迟命令清屏命令python命令figlet命令编辑还能整点什么呢?还想要让小动物报时cowsay首先要安装 cowsaysudo apt install cowsay装完之后cow 就可以 say 了吗?编辑怎么say呢?利用管道利用管道(pipe)来say编辑如何与报时函数整合呢?整....
![[oeasy]python0036_牛说_cowsay_小动物说话_asciiart_figlet_lolcat_管道(祝大家新年快乐~)](https://ucc.alicdn.com/images/user-upload-01/img_convert/b98e8b41d388550d0dc0162d6fd10853.png)
[oeasy]python0035_ 整合shell编程_循环_延迟_清屏
整合shell编程回忆上次内容用\r可以让输出位置回到行首原位刷新时间如果想要的是大字符效果需要使用 figlet但同时还希望能刷新编辑这可能吗?建立脚本我们得熟悉一下shell先新建一个test.shvi test.shpython3 show_time.pypython3 show_time.pypython3 show_time.py看起来就是把这个内容输出了 3 次编辑可以执....
![[oeasy]python0035_ 整合shell编程_循环_延迟_清屏](https://ucc.alicdn.com/images/user-upload-01/img_convert/186b165f60670bd04edf318c8af82865.png)
[oeasy]python0033_回车_carriage_return_figlet_字体变大
回到开头回忆上次内容进程前后台切换ctrl + z 把当前进程切换到后台并暂停jobs 查看所有作业用 fg 可以把后台进程再切回前台fg %1 可以把指定的任务切回前台用 bg 可以让进程在后台运行进程查询ps -elf 查看所有进程信息ps -lf 查看本终端相关进程信息kill -9 PID 给进程发送死亡信号pstree -h 可以查看进程树运行多个 python3 show....
![[oeasy]python0033_回车_carriage_return_figlet_字体变大](https://ucc.alicdn.com/images/user-upload-01/img_convert/d19506ccd39a65f892715ec7e2ee1dee.png)
[oeasy]python0033_任务管理_jobs_切换任务_进程树结构_fg
查看进程回忆上次内容上次先进程查询ps -elf 查看所有进程信息ps -lf 查看本终端相关进程信息杀死进程kill -9 PID 给进程发送死亡信号运行多个 python3 show_time.py 的话各个进程独立python3 show_time.py 大概 8+M各占内存这些进程之间是什么关系呢?编辑具体查询zsh进程相关的 3 个进程zsh(当前的 shell 环境)zs....
![[oeasy]python0033_任务管理_jobs_切换任务_进程树结构_fg](https://ucc.alicdn.com/images/user-upload-01/img_convert/e03b290bdcb8e90e68fbfb003dc25260.png)
[oeasy]python0032_杀死进程_进程后台运行不输出_nohup_ps_显示进程
查看进程回忆上次内容上次先ctrl + z 挂起进程然后运行 bg编辑程序继续跑起来而且不断输出到标准输出流甚至连ctrl + c 都无法结束进程了这可怎么办呢?只能新开一个终端想办法查询进程搜索 debian进程查询编辑找到具体方法进程具体方法编辑动手试试新开一个终端运行ps -elf编辑查看到两条进程信息看起来上一个zsh就是pid为281的进程记住281这个pid现在我想把这个....
![[oeasy]python0032_杀死进程_进程后台运行不输出_nohup_ps_显示进程](https://ucc.alicdn.com/pic/developer-ecology/kfmcdfjg3scmi_d240e5c52ce54972afa7c39cc509eb55.jpg)
本页面内关键词为智能算法引擎基于机器学习所生成,如有任何问题,可在页面下方点击"联系我们"与我们沟通。
Python oeasy相关内容
- oeasy Python衡量
- oeasy Python列表
- oeasy Python int
- oeasy Python词根溯源
- oeasy Python码表
- oeasy Python indent
- oeasy Python循环遍历
- oeasy Python序号
- oeasy Python断点
- oeasy Python仓库
- oeasy Python esc
- oeasy Python游乐场
- oeasy Python字体样式
- oeasy Python清屏
- oeasy Python演化
- oeasy Python ansi
- oeasy Python byte
- oeasy Python八进制
- oeasy Python点阵字库
- oeasy Python数码
- oeasy Python ibm
- oeasy Python乔布斯
- oeasy Python米洛华
- oeasy Python家酿
- oeasy Python vt
- oeasy Python亮色
- oeasy Python选项
- oeasy Python动物
- oeasy Python回车
- oeasy Python延迟