导航
统计
- 随笔 - 26
- 文章 - 0
- 评论 - 0
- 阅读 - 7606
随笔分类 - windows命令行
-
在python中使用cmd命令行
摘要:在python中使用命令行 环境:windows 10 python版本:3.7 import os lists = os.popen('adb devices').read() ip_info = os.popen('ipconfig').read() # 一行一行读取 ip_infos = os 阅读全文