[Tutor] Re: problems with re module

Lee Harr missive at hotmail.com
Sat Nov 15 17:41:44 EST 2003


for col in CurrentLine:
    writeln('<entry>%s</entry>' % procol(col))


Since this is where it is failing, check what you are feeding this...

for col in CurrentLine:
    print col
    writeln('<entry>%s</entry>' % procol(col))


My guess is that col is an empty list at some point.

_________________________________________________________________
The new MSN 8: smart spam protection and 2 months FREE*  
http://join.msn.com/?page=features/junkmail




More information about the Tutor mailing list