python
interface_comm
这个作者很懒,什么都没留下…
展开
-
python的json处理
python的json处理原创 2023-03-10 11:09:59 · 164 阅读 · 0 评论 -
python的相对路径和绝对路径
python的相对路径和绝对路径 随笔原创 2023-03-09 15:40:52 · 234 阅读 · 0 评论 -
pymysql.err.ProgrammingError: (1064, “You have an error in your SQL syntax
pymysql.err.ProgrammingError: (1064, "You have an error in your SQL syntax原创 2022-09-05 14:31:41 · 405 阅读 · 0 评论 -
SyntaxError: Non-UTF-8 code starting with ‘\xe5‘
出现这个问题需要在python解释器的最上面加上下面的就可以,记住在最上面,引入模块的上面#coding=utf-8原创 2021-11-18 09:52:10 · 1150 阅读 · 0 评论 -
python中报错AttributeError: module ‘json‘
python中报错AttributeError: module ‘json‘ has no attribute ‘loads‘python中报错AttributeError: module ‘json‘ has no attribute ‘loads‘看到这个报错第一反应是啥,what the fu*k,刚才看好好的,就是新建了新的文件就不给我用了?原因,python的名字不能是json,需要修改为其他的...原创 2021-05-28 10:23:36 · 458 阅读 · 0 评论 -
pip使用镜像下载
pip下载速度过慢,可以使用镜像这里使用国内镜像:https://pypi.tuna.tsinghua.edu.cn/simple使用镜像分为两种:暂时和永久1、暂时在使用pip的时候加参数-i, i是你要下载的包名如下:pip install -i https://pypi.tuna.tsinghua.edu.cn/simple pandas12、永久windows,在user目录中创建一个pip目录,如C:\Users\xx\pip,新建文件pip.ini,内容如下:1 [gl.转载 2021-03-30 23:14:16 · 1574 阅读 · 0 评论