FAQ  •  Login

Level 13

Moderators: UncleTimmy, mjpieters

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

janto

Posts: 3

Joined: Fri Jun 03, 2005 8:28 am

Post Fri Jun 03, 2005 8:32 am

Re: proxy!

clck wrote::(

I think I know how to work towards the answer, but I am behind a restrictive HTTP Proxy at my connection; and I'm sure [spoiler] in python doesn't support it.

I'm at a loss.


Google for "proxy" and [spoiler]. Following the first result led me to code to make it work (although I had to tweak it a little).
<<

clck

Posts: 2

Joined: Thu Jun 02, 2005 7:22 pm

Location: Lancaster UK

Post Sun Jun 05, 2005 10:30 am

Re: proxy!

janto wrote:
clck wrote::(
I think I know how to work towards the answer, but I am behind a restrictive HTTP Proxy at my connection; and I'm sure [spoiler] in python doesn't support it.
I'm at a loss.

Google for "proxy" and [spoiler]. Following the first result led me to code to make it work (although I had to tweak it a little).

Thank you! Python has alotta batteries!
<<

naib

Posts: 11

Joined: Wed May 18, 2005 12:33 pm

Post Mon Jun 06, 2005 2:29 pm

I really need help sorry.

I have diale dth correct number at the piccy and gotto teh PHP page.
I have the markup on screen I know I have to use the module that has the sma ename as a wind instrument but I do not know anything abt it !!!

I know who to phone (he isnt that evil, always thought those 2 were gay, but not evil)

Help?
<<

slinkp

Posts: 3

Joined: Tue Jun 07, 2005 10:32 am

Post Wed Jun 08, 2005 10:36 pm

If you need a wind instrument, you're playing the wrong tune.
There is a module in the standard lib that helps, but that's not it.

Funny how these puzzles work... I've been stuck on nearly every one so far, and this one that confounded the timbot is the only one so far which I solved quickly without needing to read hints in this forum! And no, I haven't used the relevant module before.

On balance though, I'd rather trade my puzzle-solving abilities for Tim's :?
<<

akx

Posts: 3

Joined: Wed Aug 03, 2005 10:57 am

Post Thu Aug 04, 2005 6:14 am

I just can't figure out the correct method for the phone book. :?

Any hints on that?
<<

mjpieters

Site Admin

Posts: 172

Joined: Wed May 04, 2005 8:56 am

Location: Norway

Post Thu Aug 04, 2005 7:28 am

akx wrote:I just can't figure out the correct method for the phone book. :?


The phonebook can be accessed using a specific standard for which the python library has a handy module. Next to acting as a telephone directory, this phonebook also supports a common set of methods that let you find out how to operate it; this is called introspection, something Python itself is also good at.
<<

akx

Posts: 3

Joined: Wed Aug 03, 2005 10:57 am

Post Fri Aug 05, 2005 12:48 am

Yeah, I knew about the protocol, but I had totally forgotten that the introspection methods had the object. :roll: Solved.
<<

janto

Posts: 3

Joined: Fri Jun 03, 2005 8:28 am

Post Mon Sep 05, 2005 9:11 am

OK, after a few months of having given up I'm going to try this level again.
After hacking around my firewall with the prev mentioned trick I'm having no luck trying to list the methods and keep getting "XML error: no element found at line 1".

I'm ready for a spoiler. I've been stuck for 3 months. :evil:
<<

janto

Posts: 3

Joined: Fri Jun 03, 2005 8:28 am

Post Thu Sep 08, 2005 2:41 am

Thanks clck and ajohnson for your help! I got it. There was something wrong with my code to go through the firewall.
<<

BotLobsta

Posts: 2

Joined: Sun Dec 04, 2005 6:45 pm

Post Sun Dec 04, 2005 6:50 pm

I know who is evil, but I dont know how to use the phonebook, nor do I have much of a clue. Is the module that you need in the standard library or do you need to download an external one?
<<

joskerc

Posts: 6

Joined: Tue Nov 22, 2005 12:23 am

Post Tue Dec 06, 2005 2:51 am

BotLobsta wrote:I know who is evil, but I dont know how to use the phonebook, nor do I have much of a clue. Is the module that you need in the standard library or do you need to download an external one?


Yes, it's in the standard libs. Although it's quite remote from the start of the list...
<<

BotLobsta

Posts: 2

Joined: Sun Dec 04, 2005 6:45 pm

Post Sat Dec 10, 2005 5:59 pm

Yay. I finally got it. I had looked at earlier but didnt read correctly on how to use it so I forgot about it. :(
<<

thesamet

Python Challenge Leader

Posts: 69

Joined: Thu Apr 28, 2005 11:02 pm

Post Sat Jun 24, 2006 6:03 am

level updated

From some reason this level stopped working (probably due to software
upgrade by the hosting provider).

It is now fixed. So if you tried to solving it in the last couple of days,
you should try again.

Have fun,
thesamet
<<

jeskritt

Posts: 2

Joined: Wed Jul 12, 2006 11:50 am

Post Wed Jul 12, 2006 11:54 am

Is this still working? I'm using the correct module (I think =) I cut and pasted the discovery script from the howto guide linked in the module's front page, and it worked perfectly for the howto url. Changing the url to the pythonchallenge one cause the script to die horribly.
<<

jeskritt

Posts: 2

Joined: Wed Jul 12, 2006 11:50 am

Post Wed Jul 12, 2006 1:56 pm

sigh. got it working. It's always the little mistakes that get you.
PreviousNext

Return to Python Challenge Hints

Who is online

Users browsing this forum: irina_mole and 5 guests

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