In this answer for the chunk re_start_pattern = re.compile(r'^%s$' % (start_pattern)) re_stop_pattern = re.compile(r'^%s$' % (stop_pattern)) *pattern = re_start_pattern last_line_len = 0*
"pattern" and "last_line_len" are unused vars. I forgot to delete them. Updated just so that the reader does not confuse them as a part of the implementation. -- View this message in context: http://python.6.x6.nabble.com/Novice-Question-on-File-seek-and-tell-methods-tp5021174p5021564.html Sent from the Bangalore (BangPypers) mailing list archive at Nabble.com. _______________________________________________ BangPypers mailing list BangPypers@python.org http://mail.python.org/mailman/listinfo/bangpypers