I want to access websites without using their API. Would i do this by using something like Mechanize?
+3
A:
If you simply ask google, you will get at least two answers.
http://docs.python.org/library/httplib.html
http://docs.python.org/library/urllib.html
Good introduction is also a chapter from Dive into Python Chapter 11. HTTP Web Services
dwich
2010-07-21 18:21:35
+1: Use Google. -1: urllib2 is better than urllib.
S.Lott
2010-07-21 18:59:52
Ofcourse i've used Google, but i thought there were frameworks that would do all of the mundane tasks by itself. Thanks anyway.
2010-07-21 21:13:05