如何在Python 3中使用密码递归压缩目录?
我尝试使用此命令:
compression_level = 5
pyminizip.compress(src_path + "/", None, src_path + ".zip", zip_password, compression_level)
并尝试使用subprocess.call(['zip', '-r', '-p', zip_password, src_path + ".zip", src_path + "/*"])
谢谢!