iterate lines with regex
ml at well-adjusted.de
Sat Aug 1 21:55:31 CEST 2009
> for line in readThis:
> thisKey = key.search(line).group(1)
> thisMap = map.search(line).group(1)
> thisParcel = parcel.search(line).group(1)
Why do you catch all exceptions in that loop? Remove the try-except
clause including the 'continue' and a stacktrace will probybably tell
you why your loop appears to do nothing.
A passionate argument means more to me than a blockbuster movie.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 204 bytes
Desc: Digital signature
More information about the Python-list