3 ms·
f.readlines() really? You can just iterate over the file.
by DasIch 15y ago
f.readlines() really? You can just iterate over the file.
- densh 15y agoRight, I intentionally changed to .readlines() to make code clearer for people who don't really know python. (And btw explicit is better than implicit.)