"is python zipfile thread-safe?" Code Answer

5

no, it is not thread-safe in that sense. if you're appending to the same zip file, you'd need a lock there, or the file contents could get scrambled. if you're appending to different zip files, using separate zipfile() objects, then you're fine.

By theBeast on October 8 2022

Answers related to “is python zipfile thread-safe?”

Only authorized users can answer the Search term. Please sign in first, or register a free account.