Open wolfly22 opened 4 years ago
Error description: DeprecationWarning: PY_SSIZE_T_CLEAN will be required for '#' formats pyminizip.compress_multiple([u'a.txt','b.txt'],[u'E:/',u'E:/'],"12.zip",password,4) OSError: error in opening a.txt for reading
I can't understand "PY_SSIZE_T_CLEAN "! somebody help me!Thank you!
@wolfly22 the deprecation warning is unrelated. Ignore that. I get that even when the zip works fine. Your issue is that a.txt
is not found. Try using the full path to the file, not just the file name.
pyminizip.compress_multiple([u'a.txt', 'b.txt'], ['E:\', 'E:\'], "file.zip", "1233", 4) but,I get this: pyminizip.compress_multiple(["a.txt","b.txt"],[r"E:\",r"E:\"],"abc.zip",password,6) OSError: error in opening a.txt for reading
I don't know what's the point![2. src file LIST prefix path (list) or ] Thank you very much!