im sorry i dont get it. there is too many brackets in this lin: tmplist.append(field_values["nac"])
Thats where the error is but i dont see too many brackets? On 06/14/2013 08:56 AM, Flynn, Stephen (L & P - IT) wrote: > Not enough closing brackets on the previous line... or actually too many > opening brackets - you don't need all those that you have there already. > > >> # tmplist = [time, 'nac', 'tgid', 'source', 'dest', 'algid'] is what > we >> want >> tmplist = [] >> tmplist.append((str(strftime("%Y-%m-%d %H:%M:%S", > localtime()))) >> tmplist.append(field_values["nac"]) >> tmplist.append(field_values["tgid"]) >> tmplist.append(field_values["source"]) >> tmplist.append(field_values["dest"]) >> tmplist.append(field_values["algid"]) >> >> When i run the code program dies like this: >> >> tmplist.append(field_values["nac"]) >> ^ >> SyntaxError: invalid syntax >> >> I cant figure why it stops on the third line above? Anyone have an > idea? >> Thanks! > > > This email and any attachment to it are confidential. Unless you are the > intended recipient, you may not use, copy or disclose either the message or > any information contained in the message. If you are not the intended > recipient, you should delete this email and notify the sender immediately. > > Any views or opinions expressed in this email are those of the sender only, > unless otherwise stated. All copyright in any Capita material in this email > is reserved. > > All emails, incoming and outgoing, may be recorded by Capita and monitored > for legitimate business purposes. > > Capita exclude all liability for any loss or damage arising or resulting from > the receipt, use or transmission of this email to the fullest extent > permitted by law. > _______________________________________________ Tutor maillist - Tutor@python.org To unsubscribe or change subscription options: http://mail.python.org/mailman/listinfo/tutor