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
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
@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!
The text was updated successfully, but these errors were encountered: