FAQ  •  Register  •  Login

Level 4

Moderators: UncleTimmy, mjpieters

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

blast_hardcheese

Posts: 32

Joined: Wed Aug 17, 2011 12:52 am

Post Mon Apr 16, 2012 11:32 am

Re: Level 4

gull_kins wrote:Hi. I've written pretty little script which can go through pages, one by one. Maybe I just have to wait (30, 40, 60 minutes) and let it do its job, but it doesn't look optimally. How did you solve this problem? Is there any better way?


How many requests are you making per second? My script completes the first stage in about 5 seconds, second stage in about 10 seconds (So, to be clear, 15 seconds of requests total give me the answer). What modules are you using?
<<

gull_kins

Posts: 2

Joined: Mon Apr 16, 2012 6:00 am

Post Mon Apr 16, 2012 3:04 pm

Re: Level 4

blast_hardcheese wrote:
gull_kins wrote:Hi. I've written pretty little script which can go through pages, one by one. Maybe I just have to wait (30, 40, 60 minutes) and let it do its job, but it doesn't look optimally. How did you solve this problem? Is there any better way?


How many requests are you making per second? My script completes the first stage in about 5 seconds, second stage in about 10 seconds (So, to be clear, 15 seconds of requests total give me the answer). What modules are you using?


oh, thanks, i've already done it. I didn't notice that interesting things starts earlier than after 400+ iterations
<<

hardykevin

Posts: 4

Joined: Wed Aug 08, 2012 11:25 am

Post Thu Aug 09, 2012 8:01 pm

Re: Level 4

The site is wonderful! I love it! My hint is that: Write a program to return result automaticly using urllib. It is best to be a interactive one:) Gook luck.See you in higher level!
<<

chellsbells

Posts: 1

Joined: Sat Jan 05, 2013 11:03 am

Post Sat Jan 05, 2013 11:06 am

Re: Level 4

I'm really enjoying this so far...My only problem is that I can't seem to reach the "divide by two" part.
I've been setting the xxxx.html as the new nothing, then continuing...Is that wrong?
Any hints would be greatly appreciated. ^^'
Previous

Return to Python Challenge Hints

Who is online

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

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