Skip to content

Instantly share code, notes, and snippets.

@robert-ancell
robert-ancell / gcc-analyse.py
Created November 14, 2018 22:29
Get some statistics from GNOME Settings (aka gnome-control-center)
import os
def count_lines (filename):
f = file (filename)
count = 0
for line in f.readlines ():
if not line.isspace ():
count += 1
return count
### Keybase proof
I hereby claim:
* I am robert-ancell on github.
* I am robertancell (https://keybase.io/robertancell) on keybase.
* I have a public key whose fingerprint is 4978 51B5 D455 C606 543F 2B93 18EA A189 0F7C 882E
To claim this, I am signing this object: