FAQ  •  Login

Level 4

Moderators: UncleTimmy, mjpieters

Enjoying the challenge? Need a hint?
Make a donation and help keep the site running! -thesamet
<<

thesamet

Python Challenge Leader

Posts: 69

Joined: Thu Apr 28, 2005 11:02 pm

Post Sat May 07, 2005 12:25 am

K48 wrote:Of course i did write a script but how many tries should i make before reaching this message? the case is that i have a dial-up connection so it may be not 30 minutes but 3 hours =)


the whole way should take about 300 hits... People with dial-ups have about 70% discount in this challenge, so they can start from 51350 and catch with the rest of us at the end.
<<

K48

Posts: 7

Joined: Fri May 06, 2005 2:06 pm

Post Sat May 07, 2005 1:41 am

Thanks! Now i solved this.
<<

triumph

Posts: 3

Joined: Tue May 31, 2005 11:20 am

Post Wed Jun 01, 2005 5:05 am

is there any chance of passing this one, without knowing python at all? :?
<<

UncleTimmy

Posts: 118

Joined: Thu May 05, 2005 3:44 pm

Post Wed Jun 01, 2005 6:13 am

triumph wrote:is there any chance of passing this one, without knowing python at all? :?


You could do it entirely by hand -- although it would be tedious.
<<

jaagut

Posts: 6

Joined: Tue May 31, 2005 11:56 pm

Location: Lapu-Lapu City, Philippines

Post Sat Jun 04, 2005 1:55 am

hit the "Divide by two and keep going."
keep going and hit another page "????.html"
keep going and back again to "Divide by two and keep going."

it seems the links are in a circular queue...

tried to count the pages but still i can't get to the end. what's wrong with my script?
<<

jaagut

Posts: 6

Joined: Tue May 31, 2005 11:56 pm

Location: Lapu-Lapu City, Philippines

Post Sat Jun 04, 2005 2:22 am

just solved it!
<<

criddled456

Posts: 1

Joined: Tue Jun 07, 2005 7:01 am

Post Tue Jun 07, 2005 7:04 am

my knowledge of all programming is extremely basic. how do i go about writing a script to solve this one?
<<

mjpieters

Site Admin

Posts: 172

Joined: Wed May 04, 2005 8:56 am

Location: Norway

Post Tue Jun 07, 2005 7:23 am

criddled456 wrote:my knowledge of all programming is extremely basic. how do i go about writing a script to solve this one?


I think that learning how to program is beyond this forum; there are plenty of places on the web that should be able to help you. For python-specifi help with programming, see Python Beginners Guide and the Python Beginners Help resources
<<

vill

Posts: 3

Joined: Sun Jun 05, 2005 5:31 am

Post Tue Jun 07, 2005 12:04 pm

triumph wrote:is there any chance of passing this one, without knowing python at all? :?
Yes, i did it with php. And there are many other ways, i think.
<<

sbrown

Posts: 2

Joined: Mon Jun 27, 2005 6:33 am

Post Mon Jun 27, 2005 6:48 am

Level 4

I have tried writing some code to automate the input of the 'nothing' numbers in the address bar, but it's not working. Could somebody tell me why the numbers stop changing after the first time through the loop ? Should I use a different function to urlopen() ?


  Code:
[spoiler removed]
<<

UncleTimmy

Posts: 118

Joined: Thu May 05, 2005 3:44 pm

Post Mon Jun 27, 2005 7:53 am

Re: Level 4

sbrown wrote:I have tried writing some code to automate the input of the 'nothing' numbers in the address bar, but it's not working.

You passed the same URL every time, ending with "nothing=". Embed the number in the URL (you were passing the number as the optional "data" argument, and that doesn't make sense here -- although it may not raise an exception either).
<<

sbrown

Posts: 2

Joined: Mon Jun 27, 2005 6:33 am

Post Mon Jun 27, 2005 5:34 pm

Level 4

It worked! Thank you
<<

dplass

Posts: 1

Joined: Tue Jul 26, 2005 10:45 am

Post Tue Jul 26, 2005 10:46 am

Proxies...

Can I get a hint on how to pass a username/password to an authenticating proxy in urllib?
<<

Tachyon

Posts: 1

Joined: Wed Dec 14, 2005 1:25 pm

Post Wed Dec 14, 2005 3:06 pm

I've automated the urlopen and retrievel of the numbers also but the standard text ("and the next nothing is") stills is shown. Even arround the 300 times
A hint please
<<

joskerc

Posts: 6

Joined: Tue Nov 22, 2005 12:23 am

Post Thu Dec 15, 2005 5:00 pm

Tachyon wrote:I've automated the urlopen and retrievel of the numbers also but the standard text ("and the next nothing is") stills is shown. Even arround the 300 times
A hint please


Are you sure the messages you retrieved are all standard?
PreviousNext

Return to Python Challenge Hints

Who is online

Users browsing this forum: Bing [Bot] and 11 guests

cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by ST Software for PTF.