On Thu, Sep 4, 2008 at 4:05 PM, Wayne Watson <[EMAIL PROTECTED]> wrote: > Further info. If I put > y = time.strptime("11 01 05", "%H %M %S") > both in the function and in the main body. Only the line above in the > function produces an error message. > > Here's a simple program that creates the problem. > > import datetime > > def verify_time(in_time): > time = in_time.split(":")
Like greg suspected...time is now a list. Kent _______________________________________________ Tutor maillist - Tutor@python.org http://mail.python.org/mailman/listinfo/tutor