05 2020 档案

摘要:1 import pymysql 2 import pandas as pd 3 import numpy as np 4 #连接数据库,地址,端口,用户名,密码,数据库名称,数据格式 5 conn = pymysql.connect(host='192.168.0.19',port=3306,us 阅读全文
posted @ 2020-05-26 18:33 白月如初12138 阅读(4098) 评论(0) 推荐(0)
摘要:今天使用pip安装第三库时,有时会报错: pip._vendor.urllib3.exceptions.ReadTimeoutError: HTTPSConnectionPool(host='files.pythonhosted.org', port=443): Read timed out. 使用 阅读全文
posted @ 2020-05-17 15:42 白月如初12138 阅读(1628) 评论(0) 推荐(0)
摘要:之前用过openpyxl库保存数据到Excel文件写入不了,换用xlsxwriter 批量插入图片到Excel表中 1 import os 2 import requests 3 import re 4 from openpyxl import load_workbook 5 import xlsx 阅读全文
posted @ 2020-05-05 10:12 白月如初12138 阅读(2637) 评论(0) 推荐(0)
摘要:1 <!DOCTYPE html> 2 <html lang="en"> 3 <head> 4 <meta charset="UTF-8"> 5 <title>Title</title> 6 </head> 7 <body> 8 <div class = 'pg-header'> 9 <div st 阅读全文
posted @ 2020-05-04 06:14 白月如初12138 阅读(712) 评论(0) 推荐(0)