不为别的,只为做一个连自己都羡慕的人

上一页 1 ··· 10 11 12 13 14 15 16 17 18 ··· 28 下一页
摘要: 出现这个错,是因为编码的问题。 Traceback (most recent call last): File "/tmp/a.py", line 4, in <module> html5lib.parse('<p>&#1;', treebuilder='lxml') File "/home/sim 阅读全文
posted @ 2021-07-15 14:52 升级打怪 阅读(2366) 评论(0) 推荐(0) 编辑
摘要: 每隔一段时间,想给项目创建单独的虚拟环境,老是再编辑器中找半天,才能创建成功。为了防止花费较多的时间,这次就随手记一下 第一步,找到file下面的settings,点击: 第二步:找到project interpreter,此时右边的内容为空 第三步:点击下面的红框按钮 第四步:选择下面的1处。选择 阅读全文
posted @ 2021-07-09 18:14 升级打怪 阅读(751) 评论(0) 推荐(0) 编辑
摘要: 邮件实现代码如下: import smtplibfrom email.mime.multipart import MIMEMultipart from email.mime.text import MIMEText from email.mime.application import MIMEApp 阅读全文
posted @ 2021-07-02 09:53 升级打怪 阅读(210) 评论(0) 推荐(0) 编辑
摘要: import re strr = "china today is chinaa" pattern = re.compile(r'\bchina\b') print(pattern.findall(strr)) 运行结果如下所示: 阅读全文
posted @ 2021-07-02 09:49 升级打怪 阅读(181) 评论(0) 推荐(0) 编辑
摘要: 转自:https://www.cnblogs.com/kangoroo/p/7233709.html 阅读全文
posted @ 2021-06-26 13:59 升级打怪 阅读(36) 评论(0) 推荐(0) 编辑
摘要: import pandas,numpy,os,nltk,langid from sklearn.feature_extraction.text import TfidfTransformer from sklearn.feature_extraction.text import CountVecto 阅读全文
posted @ 2021-06-25 18:00 升级打怪 阅读(111) 评论(0) 推荐(0) 编辑
摘要: 报错原因: 注意这种报错要仔细看ERROR里面提供了什么信息 这次错误的原因是django-oscar-paypal里面的 make sandbox 里面的pip -r install requirements.txt里面的setuptools_scm找不到合适的版本导致的. 那么解决方案是: 在p 阅读全文
posted @ 2021-06-25 17:54 升级打怪 阅读(2901) 评论(0) 推荐(0) 编辑
摘要: 检测cpu占用命令 top -bn 1 -i -c 使用命令杀掉占用量大的进程 kill -9 pid 阅读全文
posted @ 2021-06-24 15:25 升级打怪 阅读(155) 评论(0) 推荐(0) 编辑
摘要: 出现此类问题:> libpq@1.8.9 install /var/www/username/repository/shared/node_modules/libpq > node-gyp rebuild Traceback (most recent call last): File "/usr/s 阅读全文
posted @ 2021-06-07 15:02 升级打怪 阅读(1334) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2021-06-07 13:35 升级打怪 阅读(33) 评论(0) 推荐(0) 编辑
上一页 1 ··· 10 11 12 13 14 15 16 17 18 ··· 28 下一页