for item in object: try: context.somescript() except: print error return printed On Fri, 5 Dec 2003 10:51 am, Tim Zegir wrote: > How would I go about using a statement like 'on-error' in a python > script? > Eg. > For item in object: > context.somescript > on-error: > print error > skip > return printed > > Thanks > Tim Zegir