会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
桔子code的blog
博客园
首页
新随笔
联系
订阅
管理
上一页
1
···
8
9
10
11
12
13
14
15
16
17
下一页
2020年12月19日
Python错误集锦:除法运算时提示ZeroDivisionError: division by zero
摘要: 原文链接:http://www.juzicode.com/archives/2669 错误提示:进行除法运算时,提示ZeroDivisionError: division by zero #juzicode.com/vx:桔子codelst = [5,4,3,...
阅读全文
posted @ 2020-12-19 11:27 桔子code
阅读(1007)
评论(0)
推荐(0)
2020年12月18日
Python错误集锦:subplot提示ValueError: Single argument to subplot must be a three-digit integer, not 3411
摘要: 原文链接:http://www.juzicode.com/archives/2498 错误提示: 使用matplotlib画子图时提示:ValueError: Single argument to subplot must be a three-digit i...
阅读全文
posted @ 2020-12-18 19:47 桔子code
阅读(1031)
评论(0)
推荐(0)
Python错误集锦:SyntaxError: invalid character in identifier
摘要: 原文链接:http://www.juzicode.com/archives/2672 错误提示: 使用print()函数打印字符串,提示print后面的括号是无效字符:SyntaxError: invalid character in identifier #...
阅读全文
posted @ 2020-12-18 19:45 桔子code
阅读(955)
评论(0)
推荐(0)
2020年12月16日
桔子菌用Python turtle画的桔子
摘要: 原文链接:http://www.juzicode.com/archives/2575 要画桔子,先对着个桔子看几分钟: 看完了桔子该动手了,先画个外形: print('\n-----欢迎来到juzicode.com')print('-----公众号: 桔子c...
阅读全文
posted @ 2020-12-16 07:58 桔子code
阅读(183)
评论(0)
推荐(0)
2020年12月12日
Python错误集锦:打开文件路径提示参数无效,OSError: [Errno 22] Invalid argument: ‘D:\juzicode\桔子code\readme.txt’
摘要: 原文链接:http://www.juzicode.com/archives/2493 错误提示: 打开文件路径提示参数无效:OSError: [Errno 22] Invalid argument: ‘D:\juzicode\桔子code\readme.txt...
阅读全文
posted @ 2020-12-12 08:23 桔子code
阅读(371)
评论(0)
推荐(0)
2020年12月9日
Python错误集锦:matplotlib legend提示:ValueError: Unrecognized location ‘upper’. Valid locations are
摘要: 原文链接:http://www.juzicode.com/archives/2486 错误提示: 使用matplotlib legend提示:ValueError: Unrecognized location ‘upper’. Valid location...
阅读全文
posted @ 2020-12-09 20:08 桔子code
阅读(196)
评论(0)
推荐(0)
2020年12月8日
Python错误集锦:TypeError: unsupported operand type(s) for +: ‘int’ and ‘str’
摘要: 原文链接:http://www.juzicode.com/archives/2411 错误提示: 进行加减法运算时提示:TypeError: unsupported operand type(s) for +: ‘int’ and ‘str’: D:\ju...
阅读全文
posted @ 2020-12-08 22:37 桔子code
阅读(4027)
评论(0)
推荐(0)
Python数据可视化~matplot默认配置修改(可解决中文、负号等显示问题)
摘要: 原文链接:http://www.juzicode.com/archives/2421 在matplotlib中默认是不能正常显示中文: import numpy as npimport matplotlib.pyplot as pltimport matp...
阅读全文
posted @ 2020-12-08 22:37 桔子code
阅读(413)
评论(0)
推荐(0)
2020年12月7日
好冷的Python~ 那些同名的家伙们
摘要: 原文链接:http://www.juzicode.com/archives/1466 前两天桔子菌在调试代码的时候发现自己写的一个方法怎么也执行不到,这个自定义的类大概是下面这样子的: class ClassA(object): def __init__...
阅读全文
posted @ 2020-12-07 12:51 桔子code
阅读(36)
评论(0)
推荐(0)
2020年12月6日
Python错误集锦:NameError: name ‘a’ is not defined
摘要: 原文链接:http://www.juzicode.com/archives/2364 错误提示: 使用变量时提示NameError: name ‘a’ is not defined D:\juzicode>python test-not-define.py微信...
阅读全文
posted @ 2020-12-06 20:29 桔子code
阅读(791)
评论(0)
推荐(0)
上一页
1
···
8
9
10
11
12
13
14
15
16
17
下一页
公告