Python
Yao_YongChao
这个作者很懒,什么都没留下…
展开
-
socket.error: [Errno 98] Address already in use解决方案
按某网上教程练习Python3.网络编程,二次运行服务端,提示:socket.error: [Errno 98] Address already in use原因是:socket默认不支持端口复用,如果要复用需要显示设定,允许地址重复使用:serversocket.setsockopt(socket.SOL_SOCKET,socket.SO_REUSEADDR,1)代码如下:原创 2017-10-11 15:38:33 · 5282 阅读 · 0 评论 -
Python3
一、查看python3安装路径:which python3二、查看python3版本:python3 -V(注:V为大写)三、退出python3quit() 或 exit()原创 2017-12-23 13:42:55 · 783 阅读 · 0 评论 -
Python install
https://blog.csdn.net/weixin_42056625/article/details/82970358原创 2019-08-01 13:54:13 · 1490 阅读 · 0 评论