python catch socket timeout
import socket try: # do something. except socket.timeout as e: # socket timeout rely on module socket, and should be imported first. # do something to process exception
python catch socket timeout
import socket try: # do something. except socket.timeout as e: # socket timeout rely on module socket, and should be imported first. # do something to process exception
转载于:https://www.cnblogs.com/buxizhizhoum/p/8656740.html