在Python中,是否可以except为一个try语句提供多个语句?如 :
except
try
try: #something1 #something2 except ExceptionType1: #return xyz except ExceptionType2: #return abc
python syntax exception-handling
exception-handling ×1
python ×1
syntax ×1