loadzip#
- loadzip(filename=None, folder=None, load=True, convert=True, **kwargs)[source]#
Load the contents of a zip file into a variable
- Parameters:
- Returns:
dict with each file loaded as a key
Example:
data = sc.loadzip('my-files.zip')
New in version 2.0.0.New in version 3.0.0: load into memory instead of extracting to disk; seesc.unzip()
for extractingNew in version 3.1.4: optionally return just the zipfile object; convert bytes to string