Permalink
Switch branches/tags
Nothing to show
Find file
Fetching contributors…
Cannot retrieve contributors at this time
7 lines (6 sloc) 115 Bytes
f = open('presentation.rst')
lines = 0
for line in f:
if line.startswith('---'):
lines += 1
print lines