Message404156
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 |
|
Date |
User |
Action |
Args |
2021-10-18 05:45:40 | daveraja | set | recipients:
+ daveraja, jaraco, eric.smith, FFY00 |
2021-10-18 05:45:40 | daveraja | set | messageid: <1634535940.24.0.52145450345.issue45427@roundup.psfhosted.org> |
2021-10-18 05:45:40 | daveraja | link | issue45427 messages |
2021-10-18 05:45:40 | daveraja | create | |
|