[issue45427] importlib.readers.MultiplexedPath
David Rajaratnam
report at bugs.python.org
Mon Oct 18 01:45:40 EDT 2021
David Rajaratnam <daver at gemarex.com.au> added the comment:
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
----------
resolution: -> not a bug
stage: -> resolved
status: open -> closed
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue45427>
_______________________________________
More information about the Python-bugs-list
mailing list