Skip to content

Instantly share code, notes, and snippets.

@Stautob
Stautob / cloc2Latex.py
Last active December 2, 2019 10:21
A python script to convert the output of cloc into a Latex longtable
#!/usr/bin/env python3
import re
import sys
indentation = " "
latexHline = "\\hline"
latexLineBreak = "\\\\"
spacer = "\\hspace{3mm}"
beginTabular = "\\begin{tabular}{lrrrr}"

Keybase proof

I hereby claim:

  • I am Stautob on github.
  • I am stautob (https://keybase.io/stautob) on keybase.
  • I have a public key whose fingerprint is D82B 07AA 6F5D EAC6 CC1E 0498 3FE3 4275 E034 9B77

To claim this, I am signing this object: