try: #do stuff except 'arcgisscripting.ExecuteError': continue except (differentError1, differentError2): pass
You can either assign a single except routine to multiple named exceptions, or different except routines to different errors.
Angemeldete Mitglieder können Beiträge verfassen, Updates folgen und vieles mehr. Neu hier? Erstelle ein kostenloses Konto.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.