I'm writing a book about code, and it requires writing a fair bit of code.
scripts/comments.py
will recursively construct a corpus of comments and a corpus of docstrings from a folder containing .py
files. It is used to look at how code is appraised by its authors.