摘要:
import requests import bs4 import Mysql import time import pymysql db = pymysql.connect(host="localhost",port=3306,user='root',password='Njx200259',db 阅读全文
摘要:
import requests import bs4 url="https://ditu.amap.com/service/regeo?longitude=114.538985&latitude=38.047186" params = { "longitude": "114.538985", "la 阅读全文
摘要:
import requests import re import bs4 import pandas as pd import csv a = [] url = "http://www.tianqihoubao.com/lishi/shijiazhuang/month/202004.html" r 阅读全文
摘要:
class UrlManager(): #url管理器 def __init__():#设置新老url数组,分别为未爬取和已爬取 self.new_urls = set() self.old_urls = set() def add_new_url(self,url):#添加单个url if url 阅读全文
摘要:
Const OverwriteExisting=Trueset shell=createobject("wscript.shell")msgbox "点击"currentpath = createobject("Scripting.FileSystemObject").GetFolder("."). 阅读全文
摘要:
今天手撸项目的时候,惊然发现一个问题 全局变量: static Vector<ArrayList> vector=new Vector<>(0); 某函数下: vector.add(nearby_poi); System.out.println(vector.get(vector.size()-1) 阅读全文