How to call wget by python ?

Chris Angelico rosuav at gmail.com
Wed Jan 9 21:36:17 EST 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