摘要:
找了一圈全是ubuntu的解决方案、真的是一口老血、、、 brew install automake berkeley-db4 libtool boost --c++11 miniupnpc openssl pkg-config protobuf python3 qt libevent 阅读全文
摘要:
环境:py3.5 解决方案:py3中没有iteritems,iteritems直接改成items就可以了。 python字典的items方法作用:是可以将字典中的所有项,以列表方式返回。如果对字典项的概念不理解,可以查看Python映射类型字典基础知识一文。因为字典是无序的,所以用items方法返回 阅读全文
摘要:
运行环境Mac Python 3.5.2 Q: http_response = """\ HTTP/1.1 200 OK Hello, World! """ client_connection.sendall(http_response) TypeError: a bytes-like object 阅读全文