python中oserror_[python] 解决OSError: Address already in use
用python http.sever实现web服务时,绑定端口由于强制退出导致再次启动服务报错:self.socket.bind(self.server_address)OSError: [Errno 48] Address already in use临时解决办法:查找端口被占用的进程,然后强制结束lsof -i:9090然后kill对应的进程#--coding:utf-8--from http...