Quoting "D. Hartley" <[EMAIL PROTECTED]>:

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

Look at the constructor :-)

>>> import zipfile
>>> z = zipfile.ZipFile('myzip.zip')
>>> z.printdir()
 ...

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

Reply via email to