摘要:
import pymysql # 第一步:连接到数据库 conn = pymysql.connect(host="xxx", port=xx, user="xxx", password="xxx", charset="utf8", cursorclass = pymysql.cursors.Dict 阅读全文
摘要:
import java.text.DecimalFormat; double obj= 1.56 // #.#-1位, #.##-2位,#.###-3位 DecimalFormat df = new DecimalFormat("#.#"); String obj1= df.format(obj); 阅读全文
摘要:
mysql: select * from 库名.表名 sqlserver: select * from 库名..表名 select * from 库名.dbo.表名 如有不对,望大家指正 阅读全文
摘要:
现在使用的是豆瓣的镜像下载的pandas插件 pip3 install --index-url https://pypi.douban.com/simple pandas 国内的其他镜像源清华大学 https://pypi.tuna.tsinghua.edu.cn/simple/阿里云 http:/ 阅读全文
摘要:
https://www.cnblogs.com/TaleG/p/9187170.html 阅读全文
摘要:
01 request模块基本操作 # 导入requests模块 import requests # 准备请求相关数据 url = "https://api.tuhu.cn/Product/GetTireList" headers = { "content-type": "application/js 阅读全文
摘要:
强迫症法宝 转载自:https://blog.csdn.net/xiemanr/article/details/72583718 默认情况下,PyCharm中如果有无法错误或者不符合PEP8规范代码下面会有波浪线,语法错误波浪线为红色(如下图的第10行),不符合PEP8规范为浅黄色波浪线(如下图的第 阅读全文