pyaxmlparser icon indicating copy to clipboard operation
pyaxmlparser copied to clipboard

Implement functions for `with` statement and `close()`

Open Droppers opened this issue 4 years ago • 0 comments

I noticed that the ZipFile will stay open (OS prevents it from being modified or removed) and it is currently not possible to use it in a with statement. So I'd suggest implementing __enter__ , __exit__ and a close() function.

At the moment you will have to call apk.zip.close() manually, to figure this out you need to look at the code.

Droppers avatar Jun 15 '21 18:06 Droppers