How to print all expressions that match a regular expression
steve at holdenweb.com
Mon Feb 8 02:19:53 CET 2010
Steven D'Aprano wrote:
> On Sun, 07 Feb 2010 03:53:49 +0100, Alf P. Steinbach wrote:
>>> "Given the function hashlib.sha256, enumerate all the possible inputs
>>> that give the hexadecimal result
>> I tried some "parrot" variants but no dice. :-(
> Oh, everybody expects parrots! That's not unexpected -- as a clue, I
> wrote that "the message is predictable for being totally unexpected".
> The input was "Nobody expects the Spanish Inquisition!", which is another
> Monty Python catchphrase.
Bugger - Got everything except the trailing exclamation mark ...
Steve Holden +1 571 484 6266 +1 800 494 3119
PyCon is coming! Atlanta, Feb 2010 http://us.pycon.org/
Holden Web LLC http://www.holdenweb.com/
UPCOMING EVENTS: http://holdenweb.eventbrite.com/
More information about the Python-list