Created
July 1, 2013 23:39
Revisions
-
adiabatic created this gist
Jul 1, 2013 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,15 @@ # coding: UTF-8 # This file is in the public domain. from itertools import chain # documentation — yes, it is being overwritten in the very next line pangram = u"What is the price of a foot-bath kit? A goose in a dress near North Square thought it would cure jelly ankle. The goat nurse suggested palm oil in the mouth or wrapped around the ankle with a cloth." pangram = u" - ? · . ." letters = u"""p b t d k g T D f v s z S Z tS dZ j w h W N m n l r I i E eI { A O Q oI @ aU oU U u""".split() codepoints = [unichr(cp) for cp in chain(range(0xe650, 0xe668+1), range(0xe760, 0xe67e+1))] for cp, letter in zip(codepoints, letters): if not cp in pangram: print u"couldn’t find in pangram: {} ({})".format(cp, letter)