[Tutor] Re: problems with re module
missive at hotmail.com
Sat Nov 15 17:14:19 EST 2003
>However, I'm sure that the line:
>writeln('<entry>%s</entry>' % (procol(col)) )
>passes a string to the function... the functions themselves remain
(procol(col)) is not a tuple, but (procol(col),) is.
I think I would write it as:
writeln('<entry>%s</entry>' % procol(col))
Add photos to your messages with MSN 8. Get 2 months FREE*.
More information about the Tutor