摘要: 1 #!/usr/bin/env python 2 3 import os 4 import string 5 6 #方法1:通过字符串的isdigits来判断 7 #filelist = os.listdir('/proc') 8 # 9 #for pid in filelist: 10 # if pid.isdigit(): 11 # print p... 阅读全文
posted @ 2017-05-04 21:09 SpeicalLife 阅读(672) 评论(0) 推荐(0)