摘要:
# -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! # source: test.proto """Generated protocol buffer code.""" from goog 阅读全文
摘要:
import scrapy from urllib import parse import os import requests import re import json from ..items import PeriodicalItem from ..items import PatentIt 阅读全文
摘要:
from selenium import webdriver # 这个是浏览器自带的 不需要我们再做额外的操作 from selenium.webdriver.chrome.options import Options def share_browser(): # 初始化 chrome_option 阅读全文
摘要:
import pymysql # 账号密码连接数据库 conn = pymysql.connect(host='',port=3306,user='',passwd='',db='') # 创建游标 cursor = conn.cursor() # 插入数据 # #sql = "insert int 阅读全文
摘要:
import time import tkinter from tkinter import * from tkinter.messagebox import * class StopWatch(Frame): msec = 100 def __init__(self, parent=None, * 阅读全文
摘要:
import requests from lxml import etree from selenium import webdriver from fake_useragent import UserAgent class tencent_movie(object): def __init__(s 阅读全文
摘要:
import requests from lxml import etree from fake_useragent import UserAgent import pandas as pd from openpyxl import load_workbook import time ua = Us 阅读全文