Paste number 67749: Python urllib

Paste number 67749: Python urllib
Pasted by: mikeybe
When:9 months, 1 day ago
Share:Tweet this! | http://paste.lisp.org/+1G9X
Channel:#code4lib
Paste contents:
Raw Source | XML | Display As
import urllib
gparams = urllib.urlencode({'bibkeys':'061837943','jscmd':'viewapi','callback':'mycallback'})
g=urllib.urlopen(url="http://books.google.com/books?%s" % gparams)
print g.read()

This paste has no annotations.

Colorize as:
Show Line Numbers

Lisppaste pastes can be made by anyone at any time. Imagine a fearsomely comprehensive disclaimer of liability. Now fear, comprehensively.