摘要: 原文链接:http://www.juzicode.com/archives/2208 错误提示: 在循环语句中提示语法错误:for x in range(5) ^ SyntaxError: invalid syntax 可能原因: 1、for语句的最后和... 阅读全文
posted @ 2020-11-24 00:58 桔子code 阅读(241) 评论(0) 推荐(0) 编辑
摘要: 原文链接:http://www.juzicode.com/archives/2201 错误提示: 运行py文件,提示:IndentationError: unexpected indent,提示在第3行遇到非预期的缩进。 可能原因: 1、同一个层级的代码... 阅读全文
posted @ 2020-11-24 00:48 桔子code 阅读(585) 评论(0) 推荐(0) 编辑
摘要: 错误提示: 在命令行输入python py文件名称,提示:python: can’t open file ‘hello’: [Errno 2] No such file or directory D:\juzicode>python hellopython: ... 阅读全文
posted @ 2020-11-24 00:38 桔子code 阅读(1292) 评论(0) 推荐(0) 编辑
摘要: 错误提示: 运行py文件,提示 SyntaxError错误: File “hello.py”, line 3 SyntaxError: Non-UTF-8 code starting with ‘\xbd’ in file hello.py on line 3... 阅读全文
posted @ 2020-11-24 00:37 桔子code 阅读(190) 评论(0) 推荐(0) 编辑
摘要: 错误提示: 在cmd窗口输入pip install xyz,提示:“ ‘pip’ 不是内部或外部命令,也不是可运行的程序或批处理文件。 ” D:\juzicode>pip install 2to3'pip' 不是内部或外部命令,也不是可运行的程序或批处理文件... 阅读全文
posted @ 2020-11-24 00:36 桔子code 阅读(345) 评论(0) 推荐(0) 编辑
摘要: 原文链接:http://www.juzicode.com/archives/2157 错误提示: 在cmd窗口输入python,提示“ ‘python’ 不是内部或外部命令,也不是可运行的程序 或批处理文件。 ” D:\juzicode>python 'pyt... 阅读全文
posted @ 2020-11-24 00:33 桔子code 阅读(1260) 评论(0) 推荐(0) 编辑
摘要: 如果以为密码存储在程序中,不会被窥探,你就大错特错了。 下面是一个在代码中明文存储密码的例子: //vx:桔子code;juzicode.com#include #include using namespace std;int main (int argc, ... 阅读全文
posted @ 2020-11-23 21:30 桔子code 阅读(131) 评论(0) 推荐(0) 编辑
摘要: 原文链接:http://www.juzicode.com/archives/814 'you.see(me) or not you.see(me)'if you.see(me) or not you.see(me): me = me me.sadn... 阅读全文
posted @ 2020-11-22 23:22 桔子code 阅读(26) 评论(0) 推荐(0) 编辑
摘要: 原文链接:http://www.juzicode.com/archives/1938 桔子菌前面给大家介绍了怎么用Python收发邮件( smtplib发送邮件、pop3接收邮件 ),今天准备借助邮箱做中转,用家里的电脑拍摄照片发往邮箱,再用手机邮箱查看照片。... 阅读全文
posted @ 2020-11-16 19:53 桔子code 阅读(36) 评论(0) 推荐(0) 编辑
摘要: 原文链接: http://www.juzicode.com/archives/934 提到马里奥不知道会勾起多少人年少时的回忆,桔子哥小时候经常会和小伙伴们跑到安装了电视机的邻居家里去看电视,有一天中午到他家里的时候,看到的电视画面和往常却不一样,地上坐着的2... 阅读全文
posted @ 2020-11-13 20:35 桔子code 阅读(126) 评论(0) 推荐(0) 编辑