An `importlib.resources.as_file` equivalent but for whole directories.

To access a directory of files in a package and load them (for example, a 
skybox with 6 faces), one would need to use `as_file` 6 times with 6 context 
managers. Moreover, if the API required a path to a folder that contained the 6 
images, this would require manual extraction.
_______________________________________________
Python-ideas mailing list -- python-ideas@python.org
To unsubscribe send an email to python-ideas-le...@python.org
https://mail.python.org/mailman3/lists/python-ideas.python.org/
Message archived at 
https://mail.python.org/archives/list/python-ideas@python.org/message/XQVE3FY5RYL5Y6X6MOOG7TIMIN3AQ4SB/
Code of Conduct: http://python.org/psf/codeofconduct/

Reply via email to