Forum: Poser Python Scripting


Subject: Unzip Poser packages into any directory

adp001 opened this issue on Mar 08, 2020 ยท 50 posts


adp001 posted Tue, 17 March 2020 at 6:58 PM

Thought about it. It's not difficult.The directory of the files exists in the corresponding ZIP-file.

But what if one of the extracted original files was changed?

In my case, I extract the files exactly once from the original ZIP (at least usually). Then the main folder into which they were extracted is moved to the backup when they are no longer needed.

Somehow I don't see the sense in deleting the files extracted from the ZIP and keeping only newly created files. Because obviously the newly created files belong to the installed ones. So what do you do with them if the original files are no longer available?

Wouldn't it make more sense to have a function that packs a new ZIP from the directory instead?