Skip to content
#

bcj

Here is 1 public repository matching this topic...

py7zr
raffaem
raffaem commented Feb 7, 2022

I'm using the following code.

outdbfp is a pathlib.WindowsPath of the file I want to compress. Its value is of the form MYPATH\db.sqlite3.

outdbzip is a pathlib.WindowsPath of the output file I want. Its value is of the form MYPATH\db.7z.

Notice the two files are on the same directory.

shutil.register_archive_format('7zip', py7zr.pack_7zarchive, description='7zip archi
bug help wanted good first issue for archiving

Improve this page

Add a description, image, and links to the bcj topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the bcj topic, visit your repo's landing page and select "manage topics."

Learn more