ANN: http Tutorials (urllib2 and Basic Authentication)
Fuzzyman
fuzzyman at gmail.com
Thu Jun 2 17:25:54 CEST 2005
*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)
More information about the Python-announce-list
mailing list