2022年4月3日
摘要: 1、重启 2、在启动选择系统内核界面,按 e 键进入单用户模式 3、找到 linux16 开头行,删除 ro , 并且在 ro 处添加 rw init=/sysroot/bin/sh 4、按 ctrl + x 进行系统重新引导 5、执行 chroot /sysroot 6、执行 passwd roo 阅读全文
posted @ 2022-04-03 16:37 狼行千里吃肉 阅读(423) 评论(0) 推荐(0)

import time with open('a.txt', 'rb') as f: f.seek(0, 2) while True: line = f.readline() if len(line) == 0: # 没有内容 time.sleep(0.5) else: print(line.decode('utf-8'), end='')