摘要: # -*- coding:utf-8 -*-import osfrom fpdf import FPDFfrom gooey import Gooey, GooeyParserimport datetimedef ttime(): # 获得当前时间 now = datetime.datetime.n 阅读全文
posted @ 2021-12-29 15:11 信-^0^- 阅读(66) 评论(0) 推荐(0) 编辑
摘要: import docxfrom docx.shared import Inchesfrom docx.shared import Pt,RGBColorfrom docx.oxml.ns import qn #word样式2def style2(aa,tsize,color,rfonts): fon 阅读全文
posted @ 2020-12-11 14:07 信-^0^- 阅读(77) 评论(0) 推荐(0) 编辑
摘要: from docx.shared import Pt,RGBColor from docx.oxml.ns import qn #word中字体的颜色、大小、字体def style(tt,tsize,color,rfont): for ii in tt: for run1 in ii.runs: f 阅读全文
posted @ 2020-12-11 10:18 信-^0^- 阅读(139) 评论(0) 推荐(0) 编辑
摘要: 博客地址:https://www.cnblogs.com/zxtceq/p/5714606.html 一天完成把PC网站改为自适应!原来这么简单! http://www.webkaka.com/blog/archives/how-to-modify-a-web-page-to-be-responsi 阅读全文
posted @ 2018-07-14 11:50 信-^0^- 阅读(963) 评论(0) 推荐(0) 编辑
摘要: 初次部署django+gunicorn+nginx 博客详细地址 https://www.cnblogs.com/nanrou/p/7026802.html 写在前面,这只是我所遇到的情况,如果有错请一定要告诉我,转载请注明出处,码字不易,谢谢。环境 ubuntu16.04 python3.6 dj 阅读全文
posted @ 2018-07-12 14:41 信-^0^- 阅读(97) 评论(0) 推荐(0) 编辑
摘要: import requests,json,osfrom lxml import etreeheader={'Referer': 'http://www.kugou.com/','User-Agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) Apple 阅读全文
posted @ 2018-07-09 15:19 信-^0^- 阅读(233) 评论(0) 推荐(0) 编辑