Hi: I am trying to catch the exception from popen2 try: child_in.child_out=os.popen2("python dth.py") except OSError: print "can not open file" dth.py does not exist but when i try to run this script. the message "can not open file" does not display. which exception I should catch? best Regards zhengyi