> import zipfile
> class walkZip(zipfile):
>      pass
>
> if __name__ == "__main__":
>      print "Hello World"


`zipfile' is the name of the module, not a class. What you probably
want is this:

[code]
import zipfile
class WalkZip(zipfile.ZipFile):
    pass

if __name__ == "__main__":
    print "hello world"
[/code]

Matt

-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to