Re: Python as a HTTP Client

2005-11-10 Thread Fredrik Lundh
David Rasmussen wrote: > I do know about www.python.org. I do an extensive amount of googling in > general and searching at python.org before I ask questions such as this. > I did stumble upon urllib, urllib2 and httplib in the documentation, but > let me assure you, as a newbie, that finding this

Re: Python as a HTTP Client

2005-11-10 Thread David Rasmussen
James Tanis wrote: > If you haven't discovered www.python.org yet I suggest going there :P. > You will find there the documentation you need under the conspicuous > name library reference. Specifically the modules you'd probably most > be interested in are urllib/urllib2/httplib depending on what y

Re: Python as a HTTP Client

2005-11-10 Thread David Rasmussen
Fuzzyman wrote: > ``urllib2`` is the standard library module you need. > > I've written a guide to using it (although it's very easy - but some > attributes of the errors it can raise aren't documented) : > > http://www.voidspace.org.uk/python/articles/urllib2.shtml > > All the best, > > Fu

Re: Python as a HTTP Client

2005-11-10 Thread James Tanis
If you haven't discovered www.python.org yet I suggest going there :P. You will find there the documentation you need under the conspicuous name library reference. Specifically the modules you'd probably most be interested in are urllib/urllib2/httplib depending on what you need. Their may be other

Python as a HTTP Client

2005-11-10 Thread [EMAIL PROTECTED]
I am writing a program that has to do some lightweight HTTP communication with a webserver on the internet. I haven't checked, but I'm sure I could do something lowlevel like opening a socket myself and then send/receive everything myself on this (how do I do that?), but I'd bet that Python have so

Re: Python as a HTTP Client

2005-11-10 Thread Fredrik Lundh
"[EMAIL PROTECTED]" wrote: >I am writing a program that has to do some lightweight HTTP > communication with a webserver on the internet. I haven't checked, but > I'm sure I could do something lowlevel like opening a socket myself and > then send/receive everything myself on this (how do I do that

Python as a HTTP Client

2005-11-10 Thread [EMAIL PROTECTED]
I am writing a program that has to do some lightweight HTTP communication with a webserver on the internet. I haven't checked, but I'm sure I could do something lowlevel like opening a socket myself and then send/receive everything myself on this (how do I do that?), but I'd bet that Python have so

Re: Python as a HTTP Client

2005-11-10 Thread Fuzzyman
``urllib2`` is the standard library module you need. I've written a guide to using it (although it's very easy - but some attributes of the errors it can raise aren't documented) : http://www.voidspace.org.uk/python/articles/urllib2.shtml All the best, Fuzzyman http://www.voidspace.org.uk/p