This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author daveraja
Recipients FFY00, daveraja, eric.smith, jaraco
Date 2021-10-18.05:45:40
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1634535940.24.0.52145450345.issue45427@roundup.psfhosted.org>
In-reply-to
Content
I'm closing the bug report. Clearly not a bug. It looks like importlib.resources.as_file() is exactly what I want. It returns a context and can potentially create a temporary file system directory structure with all files I want underneath. Not sure how I missed this before and was struggling to work out what to do with a MultiplexedPath object.

If you do have comments on a better way of separating python and non-python code (see my previous use-case explanation) I'm interested to hear it.

Regards,
Dave
History
Date User Action Args
2021-10-18 05:45:40daverajasetrecipients: + daveraja, jaraco, eric.smith, FFY00
2021-10-18 05:45:40daverajasetmessageid: <1634535940.24.0.52145450345.issue45427@roundup.psfhosted.org>
2021-10-18 05:45:40daverajalinkissue45427 messages
2021-10-18 05:45:40daverajacreate