python
文章平均质量分 76
wang big big
做IT,挣的多,死的早!
展开
-
python对文件进行增,删,改,查
# -*- coding: UTF-8 -*- ''' Created on 2016年7月14日 @author: zhanglw ''' import json ''' 查询 ''' def selectByCaption(caption): with open('log','r') as fileObj: #只读方式打开文件 st原创 2016-07-16 18:07:24 · 856 阅读 · 0 评论 -
python监控linux磁盘空间使用情况
# -*- coding: UTF-8 -*-'''@author: zhanglw'''from email.header import Headerfrom email.mime.text import MIMETextfrom email.utils import parseaddr, formataddrfrom email.mime.multipart import MIMEMultip...原创 2018-03-20 17:17:21 · 6437 阅读 · 0 评论