How to call wget by python ?

rurpy at rurpy at
Thu Jan 10 06:01:24 CET 2013

On Wednesday, January 9, 2013 7:11:34 PM UTC-7, iMath wrote:
> can you  give me an example code ?

For running any system command from Python, you can use the 
subprocess module:

To run "wget -p -k" from Python you could
do something like this:

  import subprocess (['wget', '-p', '-k', ''])

More information about the Python-list mailing list