IPWorks ZIP 2020 Python Edition

Questions / Feedback?

replace_part Method

Replaces the contents of the specified part in the package.

Syntax

def replace_part() -> None: ...

Remarks

If the part specified by the part_name property exists, the corresponding physical file will be replaced with the contents of the part_data property. The package file will be modified in place right away.

If the part doesn't exists, it's stored in interleaved format, or part_data is null or empty, an error will be raised.

Copyright (c) 2022 /n software inc. - All rights reserved.
IPWorks ZIP 2020 Python Edition - Version 20.0 [Build 8300]