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:
  http://docs.python.org/3/library/subprocess.html#module-subprocess

To run "wget -p -k http://python.org"; from Python you could
do something like this:

  import subprocess
  subprocess.call (['wget', '-p', '-k', 'http://python.org'])


-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to