comparison wordstream/handlers.py @ 12:5a45f0c4cb87

py3
author Jeff Hammel <k0scist@gmail.com>
date Tue, 24 Nov 2020 10:38:47 -0800
parents 676ff92e2b1e
children ecba406793df
comparison
equal deleted inserted replaced
11:676ff92e2b1e 12:5a45f0c4cb87
1 """ 1 """
2 request handlers: 2 request handlers:
3 these are instantiated for every request, then called 3 these are instantiated for every request, then called
4 """ 4 """
5 5
6 from urllib2.request import urlopen 6 from urllib.request import urlopen
7 7
8 from pprint import pprint 8 from pprint import pprint
9 from urlparse import urlparse 9 from urlparse import urlparse
10 from webob import Response, exc 10 from webob import Response, exc
11 from StringIO import StringIO 11 from StringIO import StringIO