上一页 1 2 3 4 5 6 7 8 9 10 ··· 38 下一页
摘要: 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... 阅读全文
posted @ 2018-08-08 20:19 Erick-LONG 阅读(1024) 评论(0) 推荐(0) 编辑
摘要: 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... 阅读全文
posted @ 2018-08-03 18:21 Erick-LONG 阅读(330) 评论(0) 推荐(0) 编辑
摘要: 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 ... 阅读全文
posted @ 2018-07-31 14:21 Erick-LONG 阅读(9227) 评论(0) 推荐(1) 编辑
摘要: 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 阅读(4092) 评论(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 阅读(942) 评论(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 阅读(1625) 评论(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 阅读(317) 评论(0) 推荐(0) 编辑
摘要: # _*_ 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':[... 阅读全文
posted @ 2018-07-04 13:33 Erick-LONG 阅读(150) 评论(0) 推荐(0) 编辑
摘要: # 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 ... 阅读全文
posted @ 2018-07-02 13:32 Erick-LONG 阅读(173) 评论(0) 推荐(0) 编辑
摘要: from selenium import webdriver def start_chrome(): driver = webdriver.Chrome(executable_path = './chromedriver') driver.start_client() return driver def find_strangers(): btn_sel =... 阅读全文
posted @ 2018-06-29 13:30 Erick-LONG 阅读(163) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 8 9 10 ··· 38 下一页