create_zip_file_system method
Contents
[
Hide
]create_zip_file_system(, file_name)
File system to provide to the read-only access to speicified zip file or zip stream. File system will be disposed after the open/save operation.
Returns
A zip file system
@staticmethod
def create_zip_file_system(file_name):
...
Parameter | Type | Description |
---|---|---|
file_name | str | File name to the zip file. |
Exceptions
Exception | Description |
---|---|
IOException | Thrown when failed to read from stream. |
create_zip_file_system(, stream, base_dir)
Create a file system to provide to the read-only access to speicified zip file or zip stream. File system will be disposed after the open/save operation.
Returns
A zip file system
@staticmethod
def create_zip_file_system(stream, base_dir):
...
Parameter | Type | Description |
---|---|---|
stream | io.RawIOBase | The stream to access the zip file |
base_dir | str | The base directory inside the zip file. |
Remarks
This is a read-only file system, so no write operations are supported.### Exceptions
Exception | Description |
---|---|
IOException | Thrown when failed to read from stream. |
See Also
- module
aspose.threed.utilities
- class
FileSystem