On Sun, 3 Jul 2005, gelsey torres wrote:
> I'm new to Python and computer programming in general. Eventually I got
> sick of just reading my programming books and typing code from them into
> the interpreter, so I decided to write a script that will grab files
> from websites and save them to th
Hi!
you're missing the except-clause in the exception-handling:
on Sun, 3 Jul 2005 21:37:57 -0400 gelsey torres <[EMAIL PROTECTED]> wrote :
-
gelsey torres > I'm new to Python and computer programming
gelsey torres wrote:
> def unzip_file(filename):
> print "Unzipping file.."
> for file in filename:
> try:
> file = os.path.split(filename)[2]
> file += zlib.decompressobj()
>
> def main():
> address = raw_input("Enter the address of the site
I'm new to Python and computer programming in general. Eventually I
got sick of just reading my programming books and typing code from
them into the interpreter, so I decided to write a script that will
grab files from websites and save them to the hard drive, and if
they're compressed, unzip them.