[Tutor] Python riddles - zip question

D. Hartley denise.hartley at gmail.com
Tue May 10 00:37:46 CEST 2005


How do I open a zipfile? I see commands for closing it, but i only see
"class zipfile" - no command like urlopen() (!!!)

Thanks!

---------- Forwarded message ----------
From: Roel Schroeven <rschroev_nospam_ml at fastmail.fm>
Date: May 9, 2005 1:31 PM
Subject: Re: [Tutor] Fwd: Fwd: Python riddles
To: tutor at python.org


Alberto Troiano wrote:

> Now I'm stucked in the riddle 6
>
> As I understand I have to find a secret file (which I have but inside there
> is like 900 files)
> and do something with it

One of the files has a name that is unlike all the other ones; take a
look at that one.

> Is it like number 4?????????the one with urllib???????

Yes, the general principle is the same.

--
If I have been able to see further, it was only because I stood
on the shoulders of giants.  -- Isaac Newton

Roel Schroeven

_______________________________________________
Tutor maillist  -  Tutor at python.org
http://mail.python.org/mailman/listinfo/tutor


More information about the Tutor mailing list