07 2023 档案
摘要:def get_GD(location): url='https://restapi.amap.com/v3/assistant/coordinate/convert?' key='208ce530fdd2dc162c8831657fff3232' link='{}locations={}&coor
阅读全文
摘要:def get_dis_tm(origin, destination): url = 'https://restapi.amap.com/v3/direction/driving?' key = '208ce530fdd2dc162c8831657fff3232' #这里就是需要去高德开放平台去申请
阅读全文
摘要: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)
阅读全文
摘要:columnIdentifiers Vector,由多个列标识符组成 dataVector Vector,由包含多个 Object 值的 Vector 组成。 一个DefaultTableModel 就是一个二维表, 以下是使用函数: DefaultTableModel() 构造默认的 Defaul
阅读全文