B
Bennie
Hi,
I have a problem with ZipFile.
It works okay untily I come across a file that is greater then 1Gb.
Then it exit with the error:
OverflowError: long int too large to convert to int
How can I fix this?
souce:
zip = zipfile.ZipFile(file, 'w')
for all in os.walk(os.getcwd()):
path = all[0]
for document in all[2]:
zipaccview.write(path + os.sep + document)
zip.close()
Bennie
I have a problem with ZipFile.
It works okay untily I come across a file that is greater then 1Gb.
Then it exit with the error:
OverflowError: long int too large to convert to int
How can I fix this?
souce:
zip = zipfile.ZipFile(file, 'w')
for all in os.walk(os.getcwd()):
path = all[0]
for document in all[2]:
zipaccview.write(path + os.sep + document)
zip.close()
Bennie