parent
ac2a397c19
commit
980d90718f
2 changed files with 2 additions and 20 deletions
@ -1,19 +0,0 @@ |
||||
#!/usr/bin/python |
||||
|
||||
import fileinput |
||||
import math |
||||
import re |
||||
import sys |
||||
import time |
||||
|
||||
empty = re.compile("^\s*$") |
||||
delim = re.compile(":\s{2}") |
||||
stripped = {} |
||||
|
||||
for line in fileinput.input(): |
||||
if empty.match(line): |
||||
continue |
||||
|
||||
print line |
||||
stripped = delim.split(line.strip()) |
||||
print len(stripped) |
Loading…
Reference in new issue