annotate pyenigma.py @ 38:1dac708e7b71

Added a get_rotor_count() method to EnigmaMachine. Added a verbose option to pyenigma.py that calls it.
author Brian Neal <bgneal@gmail.com>
date Mon, 04 Jun 2012 19:22:55 -0500
parents 62e0d0e2628b
children
rev   line source
bgneal@30 1 #!/usr/bin/env python
bgneal@30 2 # Copyright (C) 2012 by Brian Neal.
bgneal@30 3 # This file is part of Py-Enigma, the Enigma Machine simulation.
bgneal@30 4 # Py-Enigma is released under the MIT License (see License.txt).
bgneal@30 5
bgneal@30 6 import enigma.main
bgneal@30 7
bgneal@30 8 enigma.main.console_main()