Re: Problem while trying to extract a directory from a zipfile.

2004-12-08 Thread vincent wehren
ralobao wrote: I have this code: try: file = zipfile.ZipFile(nome_arquivo) Gauge.start() #inicia o Gauge for element in file.namelist(): try: newFile = open(diretorio + element,"wb") except: newFile = open(diretorio

Problem while trying to extract a directory from a zipfile.

2004-12-07 Thread ralobao
I have this code: try: file = zipfile.ZipFile(nome_arquivo) Gauge.start() #inicia o Gauge for element in file.namelist(): try: newFile = open(diretorio + element,"wb") except: newFile = open(diretorio + element + '