摘要: import sysfrom PyQt5.QtWidgets import (QWidget, QToolTip,QMessageBox, QPushButton, QApplication,QDesktopWidget)from PyQt5.QtGui import QFont,QIconfrom 阅读全文
posted @ 2018-01-05 19:00 沧海一粒水 阅读(174) 评论(0) 推荐(0) 编辑
摘要: from PyQt5.QtCore import QDate, QTime, QDateTime, Qtnow = QDate.currentDate()print(now.toString(Qt.ISODate))print(now.toString(Qt.DefaultLocaleLongDat 阅读全文
posted @ 2018-01-04 23:20 沧海一粒水 阅读(5304) 评论(0) 推荐(0) 编辑
摘要: from pptx import *from pptx.util import Pt,Inchesfrom pptx.dml.color import RGBColorfrom pptx.chart.data import ChartDatafrom pptx.enum.shapes import 阅读全文
posted @ 2017-12-29 08:11 沧海一粒水 阅读(700) 评论(0) 推荐(0) 编辑
摘要: prs = Presentation('temp.pptx')xl=xlrd.open_workbook('11月分报告数据.xlsx')#幻灯片3slide=prs.slides[2]j=0for shape in slide.shapes: if not shape.has_chart: con 阅读全文
posted @ 2017-12-27 13:11 沧海一粒水 阅读(2375) 评论(0) 推荐(0) 编辑
摘要: prs = Presentation('2017年北科建第一阶段满意度调研报告V.7.0汇报.pptx')slide=prs.slides[2]j=1for shape in slide.shapes: if not shape.has_text_frame: continue text_frame 阅读全文
posted @ 2017-12-25 11:30 沧海一粒水 阅读(267) 评论(0) 推荐(0) 编辑
摘要: prs = Presentation('2017年北科建第一阶段满意度调研报告V.7.0汇报.pptx')slide=prs.slides[4]for shape in slide.shapes: if not shape.has_table: continue else: t = shape.ta 阅读全文
posted @ 2017-12-25 09:26 沧海一粒水 阅读(263) 评论(0) 推荐(0) 编辑
摘要: from pptx import Presentationfrom pptx.util import Inchesfrom pptx.enum.text import MSO_AUTO_SIZEfrom pptx.enum.chart import XL_TICK_MARKfrom pptx.uti 阅读全文
posted @ 2017-12-24 21:08 沧海一粒水 阅读(319) 评论(0) 推荐(0) 编辑
摘要: prs = Presentation('2017年北科建第一阶段满意度调研报告V.7.0汇报.pptx')slide=prs.slides[8]for shape in slide.shapes: if not shape.has_chart: continue else: chart = shap 阅读全文
posted @ 2017-12-24 18:36 沧海一粒水 阅读(485) 评论(0) 推荐(0) 编辑
摘要: from pptx import Presentationfrom pptx.util import Inchesfrom pptx.chart.data import ChartDatafrom pptx.enum.chart import XL_TICK_MARKfrom pptx.util i 阅读全文
posted @ 2017-12-20 08:25 沧海一粒水 阅读(1208) 评论(0) 推荐(0) 编辑
摘要: from pptx import Presentationfrom pptx.util import Inchesfrom pptx.chart.data import ChartDatafrom pptx.enum.chart import XL_TICK_MARKfrom pptx.util i 阅读全文
posted @ 2017-12-17 19:22 沧海一粒水 阅读(2783) 评论(0) 推荐(0) 编辑