Tim> the-two-people-using-fileinput-should-be-delighted<wink>-ly What do you think contributes to fileinput's relative disfavor? This whole thread on Python's file reading performance was started by the eternal whine "why is Python so much slower than Perl?" which really means why is line = f.readline() while line: process(line) so much slower than whatever that thing is in Perl that everybody uses as the be-all-end-all performance benchmark (something with <> in it). Given that fileinput is supposed to make the I/O loop in Python more familiar to those people wandering over from Perl (at least in part), you'd think that people would naturally gravitate to it. Would it benefit from some exposure in the Python tutorial? Is it fast enough now to warrant the extra exposure? just-whining-out-loud-ly y'rs Skip
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4