Spoiler to Python Challenge (help!!!)

Terry Hancock hancock at anansispaceworks.com
Wed Sep 28 17:17:12 CEST 2005


On Tuesday 27 September 2005 10:42 am, Terry Hancock wrote:
> >>> bz2.decompress(eval(repr(user)))
> 'huge'

Actually, it doesn't -- I sent you the wrong version of the email.

THIS works (and is what actually produced the output above).

>>> bz2.decompress(eval('"' + user + '"'))

Sorry about that.  I was trying the other as an alternative,
but in fact, it doesn't work.  So ignore that.

Cheers,
Terry

--
Terry Hancock ( hancock at anansispaceworks.com )
Anansi Spaceworks  http://www.anansispaceworks.com




More information about the Python-list mailing list