摘要: 查看wifi与蓝牙硬件开关,发现ideapad的硬件模块都是关闭的 rfkill list all 打开终端 输入 sudo gedit /etc/rc.local 写入以下内容 进行保存 #!/bin/sh -e # # rc.local # # This script is executed a 阅读全文
posted @ 2019-02-13 21:24 clemente 阅读(3635) 评论(1) 推荐(0) 编辑
摘要: import subprocess file_out = subprocess.Popen('ping www.baidu.com', shell=True, stdout=subprocess.PIPE, stderr=subprocess.STDOUT) while True: line = file_out.stdout.readline() print(line) ... 阅读全文
posted @ 2019-02-13 11:09 clemente 阅读(1705) 评论(0) 推荐(0) 编辑