摘要: #!/usr/bin/env python# -*- coidng:utf-8 -*-from subprocess import Popen,PIPE 阅读全文
posted @ 2018-02-02 16:01 lichenxi 阅读(292) 评论(0) 推荐(0) 编辑
摘要: python bytes字节换算 #!/usr/bin/env python# -*- coidng:utf-8 -*-def bytes_conversion(number): symbols = ('K','M','G','T','P','E','Z','Y') prefix = dict() for i,s in enumerate(symbols): ... 阅读全文
posted @ 2018-02-02 15:54 lichenxi 阅读(1788) 评论(0) 推荐(0) 编辑