Skip to content

Instantly share code, notes, and snippets.

View junron's full-sized avatar
😀
;;;

junron

😀
;;;
View GitHub Profile
#!/usr/bin/env python3.4
import urllib.request
import asyncio
def return_response(url):
return urllib.request.urlopen(url).read()
@asyncio.coroutine
def read_page(loop, url):