摘要: import psutil def get_disk_info(): content = "" for disk in psutil.disk_partitions(): if 'cdrom' in disk.opts or disk.fstype == '': continue disk_name 阅读全文
posted @ 2021-03-10 11:06 奕呀! 阅读(753) 评论(0) 推荐(1) 编辑
摘要: #!/usr/bin/env python # -*- coding:utf-8 -*- import sys import time for a in range(101): #print a b = 100 -a #print b #sys.stdout.write(("\r[%s%s]%0.2 阅读全文
posted @ 2021-03-10 10:32 奕呀! 阅读(34) 评论(0) 推荐(0) 编辑