[Tutor] (no subject)

Doug Stanfield DOUGS@oceanic.com
Wed, 8 Nov 2000 16:39:48 -1000


[wilson edgar pinto asked:]
>hi i'm having a bit of a trouble understanding this error message, because 
>i can't what's wrong in the code. this transposes almost all the code, and 
>i get an error on the first print command (in bold) it "Invalid syntax, how
come???, 

You need to look at the number of parentheses.  Because you have an unclosed
parentheses Python thinks the next line, your print statement, is part of
the line:

ano, mes, hoje = localtime(localtime(time())[:3]

HTH,

-Doug-