pyminizip
                                
                                 pyminizip copied to clipboard
                                
                                    pyminizip copied to clipboard
                            
                            
                            
                        add subfolder support
as far as I can tell, in both the compress and compress_multiple api there is no way to copy source files into subfolders in the destination zip. One side-effect of this, is that different files having duplicate names can result in multiple entries in the archive, but extracts only to one file (race condition).
Some possible implementations:
- have compress and compress_multiple take a dictionary argument that maps from source path-name to destination path name
- in compress_multiple, use subfolder structure if all the src directories have a common base directory
if this is implemented, also please consider taking a path as an argument for the source files and subfolders.