0
def handle_request(param1,param2):
if response.error:
print "Error:", response.error
else:
print response.body
print param1
print param2
param1
param2
http_client = AsyncHTTPClient()
http_client.fetch("http://www.google.com/", handle_request)
我需要通過參數1和參數的handle_request下載使用tornado.httpclient - 非阻塞的Python
謝謝@Ben達內爾你救我的一天:) –