urllib seems extra difficult to use and not pythonic...
asked 10 Sep '11, 14:19
Russell Ball... 1.3k●23●29●37 accept rate: 43%
easy_install requests
>>> import requests >>> r = requests.get("http://www.google.com/search?q=dogs") >>> print r.content
answered 10 Sep '11, 14:21
LostHero 890●9●13●20 accept rate: 61%
Once you sign in you will be able to subscribe for any updates here
Answers
Answers and Comments
Markdown Basics
learn more about Markdown
Tags:
python ×7 website ×2 fetch ×1 requests ×1
Asked: 10 Sep '11, 14:19
Seen: 1,565 times
Last updated: 10 Sep '11, 14:21
Does tornado have else statements in template?
easy_install EnvironmentError: mysql_config not found
How can I determine if an ip address exists inside a cidr range in python?
How do I print yesterdays date in python?
How do you choose a random record from a python dict
How do instant preview links work?
how to create a buildout file
powered by OSQA
First time here? Check out the FAQ!