Mercurial > repo
view interps/linguine/ascii.lng @ 3904:49ab5b2e2ebf
<boily> echo -e "#!/usr/bin/env python\\n# -*- encoding: utf-8 -*-\\nimport sys\\nimport unicodedata\\ntry:\\n print u\'\'.join(map(unicodedata.lookup, sys.argv[1:])).encode(\'utf-8\')\\nexcept KeyError:\\n print u\'Unknown character.\'" >bin/unicode
author | HackBot |
---|---|
date | Fri, 11 Oct 2013 15:25:39 +0000 |
parents | 859f9b4339e6 |
children |
line wrap: on
line source
'Gives the ASCII code for each character typed. Useful for generating 'strings in Linguine. 'Programmed by Jeffry Johnston, 2005 1[0?,0#,1=32,1$,0~10:0]1