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.
Les membres connectés peuvent publier, suivre les mises à jour, et plus encore. Nouveau ici ? Inscrivez-vous gratuitement.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.