1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
#!/usr/bin/python import sys, botan class PyAlgo(botan.Algorithm): def name(self): return "PyAlgo" def clear(self): print "clearing" def main(): alg = PyAlgo() botan.print_algo(alg) if __name__ == "__main__": sys.exit(main())