Re: [Tutor] file fetcher class object through http

2011-08-22 Thread Prasad, Ramit
>Such tools already exist, although they may not be written in Python. In >particular, google on "wget" or "curl" for two very well-known >industrial-strength tools for downloading files from the web (and other >places). If you just want something that works, I recommend you learn >how to use t

Re: [Tutor] file fetcher class object through http

2011-08-19 Thread James Thornton
> Essentially, I want to write a class that finds, and downloads a file from a > web server. mostly, I am looking for a smart class implementation that has > well-considered API and method choices. httplib2 (http://code.google.com/p/httplib2) by Joe Gregorio of Google is what I use. It has an intu

Re: [Tutor] file fetcher class object through http

2011-08-19 Thread Steven D'Aprano
Oh, I forgot to mention... Artie Ziff wrote: Essentially, I want to write a class that finds, and downloads a file from a web server. [...] mostly, I am looking for a smart class implementation that has well-considered API and method choices. Have you looked at the code in the Python stand

Re: [Tutor] file fetcher class object through http

2011-08-19 Thread Steven D'Aprano
Artie Ziff wrote: Hello.. I like reading different people's implementations of python as it helps me decide what is necessary vs what is not. Essentially, I want to write a class that finds, and downloads a file from a web server. Such tools already exist, although they may not be written

[Tutor] file fetcher class object through http

2011-08-19 Thread Artie Ziff
Hello.. I like reading different people's implementations of python as it helps me decide what is necessary vs what is not. Essentially, I want to write a class that finds, and downloads a file from a web server. Of course I may add some file matching features through regex... and other th