2017年5月31日

python3查询数据库并生成excel报表

摘要: #!/usr/bin/env python3 #encoding=UTF-8 import os import time import xlwt hostIp = 'xxx.xxx.xxx.xx' user = 'user0001' passwd = 'xxxx' db = 'db01' sqlStr1 = 'SELECT timeout_day as 逾期天数,COUNT(1) as 统... 阅读全文

posted @ 2017-05-31 17:03 vijayfly 阅读(6644) 评论(1) 推荐(0) 编辑

导航