On 22/08/2011 14:21, aba ca wrote:
How can I send to cmd.exe "netstat -an"?

Look at the subprocess module, and especially the .check_output
convenience function:

  http://docs.python.org/library/subprocess.html#subprocess.check_output

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

Reply via email to