projects
/
cipher-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Done challenge 7
[cipher-tools.git]
/
support
/
utilities.py
diff --git
a/support/utilities.py
b/support/utilities.py
index ca984a30f96e4b09545eb09b277a5b0dc188be28..7319621c1fbfdfa7cf650912d288401189482057 100644
(file)
--- a/
support/utilities.py
+++ b/
support/utilities.py
@@
-1,5
+1,6
@@
import string
import collections
import string
import collections
+import unicodedata
from itertools import zip_longest
# join a a list of letters into a string
from itertools import zip_longest
# join a a list of letters into a string
@@
-191,4
+192,5
@@
def frequencies(text):
return collections.Counter(c for c in text)
if __name__ == "__main__":
return collections.Counter(c for c in text)
if __name__ == "__main__":
- import doctest
\ No newline at end of file
+ import doctest
+ doctest.testmod()
\ No newline at end of file