Bufferevents and evbuffers Every bufferevent has an input buffer and an output buffer. These are of type "struct evbuffer". When you have data to write on a bufferevent, you add it to the output buffer; when a bufferevent has data for you to rea…
python3.4学习笔记(四) 3.x和2.x的区别 在2.x中:print html,3.x中必须改成:print(html) import urllib2ImportError: No module named 'urllib2' 在python3.x里面,用urllib.request代替urllib2 import threadImportError: No module named 'thread'在python3.x里面,用_thread(在前面加一个下划线)代替thread 在2…