Quickies

[categories] [index] [all (527)] [latest]

Python
  1. sum(1 for line in open('myfile.txt'))