摘要:
from gevent import monkey monkey.patch_all() import gevent from haishoku.haishoku import Haishoku import math from colorsys import rgb_to_hsv import os from collections import OrderedDict import pan... 阅读全文
摘要:
import requests import json import time from pyquery import PyQuery import pandas as pd from collections import OrderedDict import multiprocessing import asyncio from functools import partial # cooki... 阅读全文
摘要:
import jieba from collections import Counter from wordcloud import WordCloud import matplotlib.pyplot as plt from PIL import Image import numpy as np import jieba.analyse from pyquery import PyQuery ... 阅读全文
摘要:
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... 阅读全文
摘要:
import xlsxwriter,xlrd import glob #打开excel文件 data=xlrd.open_workbook('优秀创意库-20180725.xlsx') #获取第一张工作表(通过索引的方式) table=data.sheets()[0] def new_xlsx(): book = xlsxwriter.Workbook('pict1.xlsx') ... 阅读全文
摘要:
# 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... 阅读全文
摘要:
# _*_ 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... 阅读全文
摘要:
# _*_ coding=utf-8 _*_ from PIL import Image as Img from tkinter import * from tkinter.filedialog import * from tkinter import messagebox import os # ui # ui update # business info = { 'path':[... 阅读全文
摘要:
# start_chrome -> input_date -> scroll_down-> find_cards_info -> save -> find_next (goto) from selenium import webdriver from selenium.webdriver.common.keys import Keys import time import csv import ... 阅读全文
摘要:
from selenium import webdriver def start_chrome(): driver = webdriver.Chrome(executable_path = './chromedriver') driver.start_client() return driver def find_strangers(): btn_sel =... 阅读全文