#!/usr/bin/env python # loopcipher.py import encoder import decoder def main(): print "\n[?] [?] [?] [?] [SUPER SECRET CIPHER ENCODER & DECODER] [?] [?] [?] [?]".center(80) print "\n+With this program you can encode and decode secret messages." print "+type to quit.\n" choice = "" while(choice != "quit"): choice = raw_input("Would you like to encode or decode a message? ") print if choice == "encode": encoder.main() elif choice == "decode": decoder.main() print "Go get some more secrets!\n" print "}-----------------------------: ? :-----------------------------{".center(80) print if __name__ == '__main__': main()