摘要: from pptx import Presentation from pptx.util import Pt, Inches prs = Presentation() slide = prs.slides.add_slide(prs.slide_layouts[1])# 添加空白页PPT body_shape = slide.shapes.placeholders body_shape[0... 阅读全文
posted @ 2018-07-30 14:06 Erick-LONG 阅读(4111) 评论(0) 推荐(0) 编辑
摘要: import xlsxwriter,xlrd import glob #打开excel文件 data=xlrd.open_workbook('优秀创意库-20180725.xlsx') #获取第一张工作表(通过索引的方式) table=data.sheets()[0] def new_xlsx(): book = xlsxwriter.Workbook('pict1.xlsx') ... 阅读全文
posted @ 2018-07-30 13:59 Erick-LONG 阅读(951) 评论(0) 推荐(0) 编辑
摘要: # coding=utf-8 import os import time from selenium import webdriver from selenium.webdriver.chrome.options import Options from selenium.webdriver.common.by import By from selenium.webdriver.support i... 阅读全文
posted @ 2018-07-30 13:57 Erick-LONG 阅读(1658) 评论(0) 推荐(0) 编辑
摘要: # _*_ coding=utf-8 _*_ import requests import time import math import os import pandas as pd cookies = input('请输入Cookie:') headers = { 'User-Agent': 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_1... 阅读全文
posted @ 2018-07-30 13:55 Erick-LONG 阅读(335) 评论(0) 推荐(0) 编辑