python编程常见错误笔记
来源:互联网 发布:辣妈淘美美 淘宝达人 编辑:程序博客网 时间:2024/06/06 09:30
1:python中SyntaxError:Non-ASCII解决方法:
解决这个错误只需要在Python头部加上:
2:python中IndentationError: expected an indented block解决方法:
出现这个错误,你根据错误提示行查看你的代码是否缩进了,一般是因为语句没有缩进引起的。
3:python中socket.error:[Errno 9] Bad file descriptor解决方法:
出现这个错误一般是服务器还需要接受data而客户端的socket连接已经关闭了,这时你需要查看你客户端socket关闭连接的位置是否正确阅读全文
0 0
- python编程常见错误笔记
- java编程常见错误笔记
- Python常见编程错误和陷阱
- Python编程:基础学习常见错误整理
- python初学者常见错误
- python常见错误
- Python常见错误,原因
- Python入门常见错误
- python开发常见错误
- Python常见错误汇总
- Python常见错误
- Python常见错误归纳
- Python 常见错误
- python新手常见错误
- python常见错误
- python常见错误类型
- 常见Python运行错误
- python常见错误集合
- android.content.ActivityNotFoundException:
- activity5工作流(六)
- 基于海量弱特征的AI风控模型正渐渐到来
- MFC源码解读(1)- stdafx.h
- Physical Education CodeForces
- python编程常见错误笔记
- linux的squid代理服务
- href和src的区、link和@import的区别
- Eclipse报错:Subversion Native Library Not Available
- 爬虫实战7-应对反爬虫的策略
- Unity3D
- android mvc
- PHP 正则preg_match 与 preg_match_all 函数以及匹配中文
- springboot+mybatis 多数据源——Mybatis深入浅出(三)