[Tutor] file fetcher class object through http
Prasad, Ramit
ramit.prasad at jpmorgan.com
Mon Aug 22 21:06:40 CEST 2011
>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 those tools rather than re-inventing the wheel.
http://pycurl.sourceforge.net/ <- Python interface for curl.
I have never used it, but it would probably do what you want. Normally I use os.system with wget, but it is a quick dirty hack.
Ramit
Ramit Prasad | JPMorgan Chase Investment Bank | Currencies Technology
712 Main Street | Houston, TX 77002
work phone: 713 - 216 - 5423
This email is confidential and subject to important disclaimers and
conditions including on offers for the purchase or sale of
securities, accuracy and completeness of information, viruses,
confidentiality, legal privilege, and legal entity disclaimers,
available at http://www.jpmorgan.com/pages/disclosures/email.
More information about the Tutor
mailing list