python
ㄨㄛˇㄞˋㄋㄧˇ
别看了,是大汉
展开
-
pip insatll 出现ConnectionResetError(10054,
以前行,现在不行,很有可能是开了梯子。原创 2023-07-03 16:52:15 · 214 阅读 · 0 评论 -
numpy常用语法记录
numpy较常用语法记录原创 2023-03-29 15:00:52 · 252 阅读 · 0 评论 -
python: can‘t open file ‘C:\Users\Lenovo\snow.py‘: [Errno 2] No such file or directory解决方案
命令行调用snow.py时出现如上问题,can’t open file 'C:\Users\Lenovo\snow.py’即这个路径下没有这个文件,那就写这个文件的路径呗!诶,成了!原创 2021-08-24 23:05:58 · 2149 阅读 · 0 评论 -
ValueError: invalid literal for int() with base 10: (小白的解决方案)
@[#ValueError: invalid literal for int() with base 10: (小白级)]a='96.7'print('''str(a),float(a),''',int(a))我的程序在运行时出现标题所示错误,参考其他文章内容int (’’)所转的字符串中必须是纯数字再依据以上程序理解为,类型强转int()转字符串时字符串内容不仅为数,还得是小数...原创 2021-02-02 12:04:58 · 385 阅读 · 0 评论