Phil Frost wrote: > another alternative is to use the standard posix program "wc" with the > -l option, but this isn't Python. > Not the same thing. wc -l counts newline bytes, not "real" lines. Erik