Lines of code counter Deprecated: Has been folded into the tools library. Counts lines of Python code. Surprisingly I couldn't find a decent implementation of this on its own anywhere, so here one is.