Graham Guttocks: >This doesn't seem to work for me: > >>>> CIPHER = "DES3" >>>> import Crypto.Cipher >>>> cipher = getattr(Crypto.Cipher, CIPHER) >Traceback (most recent call last): > File "<stdin>", line 1, in ? >AttributeError: DES3 How about CIPHER = "DES3" Crypto = __import__("Crypto.Cipher.%s" % CIPHER) cipher = getattr(Crypto.Cipher, CIPHER) (Sorry, don't have Crypto installed to test it out.) Andrew dalke at acm.org
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4