You could try using: urlllib.urlretrieve ...it may be faster.
--
http://mail.python.org/mailman/listinfo/python-list
You can use os.chmod to fix it.
Here the description:
os.chmod
Docstring:
chmod(path, mode)
Change the access permissions of a file.
Cheers,
perchef escreveu:
> hi,
>
> i have written this small code which allow me to unzip files using
> python :
>
> import zipfile
> import os
> impor
The case is that Python in attribution commands solves first the right
side, so he atributes the vars.
So the a+b expression is executed first.
Joon escreveu:
> >>> # Fibonacci series:
> ... # the sum of two elements defines the next
> ... a, b = 0, 1
> >>> while b < 10:
> ... print b
> ..
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 + '