Save data to a file thru a http connection

Christoph Haas email at christoph-haas.de
Wed May 31 14:58:53 EDT 2006


On Wed, May 31, 2006 at 11:37:47AM -0700, yinglcs at gmail.com wrote:
> I am new to python. I read an example here about how to fetch data thru
> a HTTP connection:
> http://diveintopython.org/http_web_services/review.html,
> 
> My question is how can i save the data to a file after reading it from
> a http connection.

Usually HTTP is read-only. There are extensions like WebDAV though that
may do what you need. Google for "python webdav" and see how far you get.

Kindly
 Christoph



More information about the Python-list mailing list