writeZip

writeZip(data, file=None)

Write bytes to a zip file

Parameters

Name Type Description Default
data object A python object required
file Union[str, None] The path to a zip file or None to create a temporary zip file None

Returns

Name Type Description
str the path to the file