Unzip Files

Brock btibert3 at gmail.com
Sun May 31 17:42:01 EDT 2009


Hi all,

I am new to python, so please don't attack me if this question is easy
or basic.  How can I go about extracting the contents of a zip file to
the same directory?  Can I extend this question to a zip file that
sits on the internet?

Point being I need to work with the files inside the zipped file, and
there are times when the file is already on my computer, and their
others where the datafile sits on the Internet.

Any help you can provide will be greatly appreciated.  In full
disclosure, I usually learn by example and not by trial and error, so
any nudges in the right direction will be greatly appreciated.

Many thanks,

Brock



More information about the Python-list mailing list