ANN: http Tutorials (urllib2 and Basic Authentication)
2 Jun
2005
2 Jun
'05
9:25 a.m.
*NEW* http Tutorials Two new tutorials on http related subjects with Python. (1) A tutorial on using urllib2. It covers fetching URLs, coping with errors, and using handlers and openers. It should be useful to anyone new to using urllib2. (2) A tutorial on BASIC authentication with Python. It first illustrates how BASIC authentication works - manually encoding the username/password into the request. Next we show the *proper* way to do it - with password manager, handler, and opener; a subject which has been known to confuse even intermediate level Python Programmers. See : http://www.voidspace.org.uk/python/articles.shtml#http (errata welcomed by the way - see the website for a contact address)
6902
Age (days ago)
6902
Last active (days ago)
0 comments
1 participants
participants (1)
-
Fuzzyman