I have a C:/a/b/c/d and I want to zip the file 'd' only. When I do it in Python using py7zr library with
archive = py7zr.SevenZipFile('C:/a/b/c/d.7z', 'w')
archive.writeall('C:/a/b/c/d')
archive.close()
it works but when i extract the zip, i end up having the whole a/b/c path, instead i want only to zip the current file. Any ideas?