Simple exceptions question

R.Marquez ny_r_marquez at yahoo.com
Tue Aug 17 18:18:14 CEST 2004


Not sure if this is all you need, but have tried this?

def main():
    #define vars
    try:
        foo(a, b, c)
    except IndexError:
        traceback.print_exc()



More information about the Python-list mailing list