[Tutor] Re: problems with re module

Lee Harr 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
>unchanged...
>

(procol(col)) is not a tuple, but (procol(col),) is.


I think I would write it as:

writeln('<entry>%s</entry>' % procol(col))

though.

_________________________________________________________________
Add photos to your messages with MSN 8. Get 2 months FREE*. 
http://join.msn.com/?page=features/featuredemail




More information about the Tutor mailing list