Is there a way to detect errors when running shell commands using 
os.popen?  I'm trying to get an ip address for ethernet interfaces, and 
if an interface doesn't exist I get an error from the shell command.  I 
tried using try and except, but that did seem to work.

Thanks in advance.

Peter
_______________________________________________
Tutor maillist  -  Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor

Reply via email to