urllib and sites that require passwds

Fuzzyman fuzzyman at gmail.com
Thu Dec 23 18:03:35 EST 2004


Ishwor wrote:
> On 23 Dec 2004 06:46:50 -0800, Fuzzyman <fuzzyman at gmail.com> wrote:
> > damn... I'm losing my leading spaces.... indentation should be
obvious
> We'll forgive you for that. It was from "top-of-your-head" ~;-)
>

Hey - I put the indentation in there... it just got stripped out when
it was posted ! :-)

> > anyway... (everything below except is indented at least one step).
> > Fuzzy
> Its nice that urllib2 returns errcode to process further. doesn't
> urllib do that?

The OP is saying that it hangs rather than returning an error. I
haven't tested it. In general urllib2.urlopen is much better than
urllib.urlopen. urllib has some useful other functions though.

> Anyway i wanted to know if any website which is similar to CPAN
> library website? I mean i want to be able find modules n stuff for
> Python.. It would be really great to know.
>

There is PyPi and the Vaults of Parnassus. Neither are really like
CPAN. There has been lots of talk about it recently - everyone agrees
we need one... but no one is offering the bandwidth or the code.

There are lots of modules available though - and usually not too hard
to track down.

Regards,

Fuzzy
http://www.voidspace.org.uk/python/index.shtml
> Thanks.
> 
> -- 
> cheers,
> Ishwor Gurung




More information about the Python-list mailing list