[Tutor] Python riddles

Jacob S. keridee at jayco.net
Mon May 9 00:58:26 CEST 2005


Ok, I'm stuck on #4

I tried using urllib like the source hints... but, when I run my automation 
of the process of typing in the new nothing, I run through about 15 pages, 
then I notice that they add an extra number in the text.
60167 or something like that
This is encouraging. 1) I'm must be getting somewhere--it's not just while 1 
random number generator
2) The way they set it up, it looks like they expected me to make the 
mistake that i made to mislead me to a wrong side link. 3) This means that I 
must be doing the right thing.
Unfortunately, after about 50 pages or so, it stops, apparently using too 
much memory, or something causing the computer to lock badly enough I have 
to wait for 5 minutes for the keyboard interupt to work.  I believe it also 
hints in the source that I should do this about 300 times?  I just want to 
know if I'm on the right track, and maybe a slight push in a better, less 
memory consuming direction...

Can you help?
Jacob -- also known as "The Schmidtty"



----- Original Message ----- 
From: "Max Noel" <maxnoel_fr at yahoo.fr>
To: <jfouhy at paradise.net.nz>
Cc: <tutor at python.org>
Sent: Thursday, May 05, 2005 8:50 AM
Subject: Re: [Tutor] Python riddles


>
> On May 5, 2005, at 00:53, jfouhy at paradise.net.nz wrote:
>
>> As seen on python-announce (via Dr Dobbs):
>>
>> http://www.pythonchallenge.com/
>>
>> Good fun!
>>
>
>     Very interesting indeed! I'm stuck on number 7, though -- looks
> like it requires the use of PIL, which I've never used before.
>
> -- Max
> maxnoel_fr at yahoo dot fr -- ICQ #85274019
> "Look at you hacker... A pathetic creature of meat and bone, panting
> and sweating as you run through my corridors... How can you challenge
> a perfect, immortal machine?"
>
> _______________________________________________
> Tutor maillist  -  Tutor at python.org
> http://mail.python.org/mailman/listinfo/tutor
> 



More information about the Tutor mailing list