just one more question about the python challenge

Roel Schroeven rschroev_nospam_ml at fastmail.fm
Thu Apr 13 05:58:34 EDT 2006


John Salerno schreef:
> Fredrik Lundh wrote:
>> John Salerno wrote:
>>
>>>> At the second, don't rename the file, rename the URL.
>>> Do you mean rename the URL *aside from* the file name?
>> no, the URL you got when you followed georg's instructions will give you
>> some data that you need to manipulate before you can see what it is.  to
>> figure out how to manipulate it, study the *first* image carefully.  what
>> is the person on that page doing?
> 
> Thanks Fredrik. I think my problem lies in not knowing what the 'data' 
> is I need to move on to the next step of the puzzle. I now have 3 
> images, along with gfx file. I know shuffling/unshuffling has something 
> to do with the puzzle, but I haven't figure out what yet. Am I wrong to 
> think that this is another PIL puzzle?

As others have said, you don't need PIL for this one. You need to have a 
look at the data of the gfx file itself (you can do that with some 
simple Python code, though I find it easier to use a hex editor). Focus 
on the start of the data at first. Compare the patterns in the data with 
the data at the start of other image files (JPG, PNG, GIF).

 From another view of how you need to manipulate the bytes, look at what 
the dealer is doing with the cards. Count how many piles he's using.

And I guess you'll be happy to know that puzzle 13 doesn't have anything 
to do with images :)

-- 
If I have been able to see further, it was only because I stood
on the shoulders of giants.  -- Isaac Newton

Roel Schroeven



More information about the Python-list mailing list