|
|
|
|
|
by contravariant
74 days ago
|
|
Oh that's neat, though I might split this into two functions in most cases, no need to entangle opening the file and counting the words in a filelike object. That's two neat tricks that I'm definitely adding to my bag of python trickery. |
|