You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
it acts really weird like it is asking the password for EACH FILE inside the folder; and it works just for the first one, if I type for the second it doesn't, look:
What's causing this?
Thanks
N.B. Even in the cases it works I get this warning
DeprecationWarning: PY_SSIZE_T_CLEAN will be required for '#' formats
pyminizip.compress_multiple(...
The text was updated successfully, but these errors were encountered:
# My import with alias
from pyminizip import (
compress as ZipOne,
compress_multiple as ZipMany,
uncompress as UnZip)
# unzipping the file (single XLSX)
logger.error("Descompactando {} ...".format(zipFilename))
UnZip(zipFilename, ZipPWD, gettempdir(), 1)
if os.path.exists(xlsxFilename):
logger.error("Criado {} ...".format(xlsxFilename))
My SYSOUT shows:
2021-01-20 13:21:40.418 | ERROR | __main__:despachar_email_reiterando_preaprovacao:527 - Descompactando C:\Users\Willian\AppData\Local\Temp\PreApproval.20210119.zip ...
C:/Users/Willian/Projetos/inventario-digicert/__main__.py:528: DeprecationWarning: PY_SSIZE_T_CLEAN will be required for '#' formats
UnZip(zipFilename, ZipPWD, gettempdir(), 1)
2021-01-20 13:21:40.418 | ERROR | __main__:despachar_email_reiterando_preaprovacao:530 - Criado C:\Users\Willian\AppData\Local\Temp\PreApproval.20210119.xlsx ...
But the XLSX file is there. The UnZip works just fine! It still bother me this ugly Warning! I wanna strip it out!
Hi There,
here is my code:
This way and with singular file compress works flawlessy, BUT if I change the last line adding a password like
it acts really weird like it is asking the password for EACH FILE inside the folder; and it works just for the first one, if I type for the second it doesn't, look:
What's causing this?
Thanks
N.B. Even in the cases it works I get this warning
The text was updated successfully, but these errors were encountered: