How to call wget by python ?

Chris Angelico rosuav at gmail.com
Thu Jan 10 03:36:17 CET 2013


On Thu, Jan 10, 2013 at 1:11 PM, iMath <redstone-cold at 163.com> wrote:
> can you  give me an example code ?
> --
> http://mail.python.org/mailman/listinfo/python-list

You've asked several very vague questions. I would strongly recommend
that you read this:

http://www.catb.org/esr/faqs/smart-questions.html

Invoking wget can be done, but you may want to consider alternatives
such as doing the network request (HTTP, FTP, or whatever) directly in
Python. A one-line request that we do heaps of work for you is not the
best way to get results.

ChrisA



More information about the Python-list mailing list