Created
December 17, 2010 21:22
-
-
Save maxcountryman/745727 to your computer and use it in GitHub Desktop.
Simple tabula recta generator, using Python's random module.
This file contains 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 characters
import string, random | |
print ' '+' '.join(string.ascii_uppercase) + '\n'+' +'+''.join(['-' for x in range(52)])+'\n'+''.join([chr(x)+' | '+' '.join([chr(random.randrange(33,127)) for x in range(26)])+'\n' for x in xrange(65,91)]) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment