摘要:
pip install遇到被墙问题(安装速度太慢导致安装错误): 局部镜像: 可以直接在 pip 命令中使用 -i 参数来指定镜像地址,例如: pip install numpy -i https://pypi.tuna.tsinghua.edu.cn/simple 其它常用镜像地址: 清华:htt 阅读全文
摘要:
string = "good" #类型为字符串 print("string=%a" %string) #输出的打印结果为 string=good 输出为: string='good' string = "good" #类型为字符串 print("string=%s" %string) #输出的打印结 阅读全文
摘要:
vscode通过链接拉取git项目 vscode终端中就可操作 初始化 git init 链接 git git remote add origin http://**************.git 拉取项目 git clone http://*************.git 参考博客:https 阅读全文
摘要:
1.临时使用方法:1、临时使用npm --registry https://registry.npm.taobao.org install express 2.永久使用方法:通过cmd配置npm淘宝路径镜像 npm config set registry https://registry.npm.t 阅读全文
摘要:
解决方法 1:搜索powershell,以管理员方式运行powershell2:使用命令更改计算机的执行策略 执行: set-ExecutionPolicy RemoteSigned 重启vscode,就可以了! 阅读全文
摘要:
什么是aiohhtp? 大概意思是说aiohttp是一个异步http网络模块分为了客户端和服务端,同时支持websocket的使用,另外不用担心在使用过程中多次回调导致回调地狱情况出现。 参考博客:异步网络模块之aiohttp的使用(一) 阅读全文
摘要:
此功能解决了我一个问题:自动在地图上上传文件打点的问题,从此再也不用手动输入value值了(数组的形式)!!! 话不多说,贴上代码 import pandas as pd obj = pd.read_csv('pra/画图/new.csv', encoding="gb2312") Index = o 阅读全文
摘要:
2.2,列 1 2 3 df.iloc[:, 1] # 第2列,即列名称为'B'的列,1 4 9 13 df.iloc[:, 0:3] # 前3列 df.iloc[:, [0, 3]] # 第1第4列 阅读全文
摘要:
git作为支持分布式版本管理的工具,它管理的库(repository)分为本地库、远程库。 git commit操作的是本地库,git push操作的是远程库。 git commit是将本地修改过的文件提交到本地库中。git push是将本地库中的最新信息发送给远程库。 阅读全文
摘要:
##中国QT存储库地址 尝试过很多镜像网站的地址,都失败,会有显示:An error occurred while testing this repository. Do you want to disable the repository? 经过查找问题解决方法,最后如下地址成功了: 此时的临时仓 阅读全文