Why do I get this error?

Nick Perkins nperkins7 at home.com
Sun May 20 07:18:08 CEST 2001


i think this should do it:
(when len(list)==1 you want to pass a single string to fix..,
 not a list (of length one) containing the string )


        if len(list) >1:
                format = evaluate(list)
        elif len(list) == 1:
                list = fix_expression(list[0])
                format = evaluate(list)
        else:
                print 'um, you were spose to enter somthing dumbass'

        print format #found in the evaluate function







More information about the Python-list mailing list