Simple exceptions question

R.Marquez ny_r_marquez at yahoo.com
Tue Aug 17 12:18:14 EDT 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