Closed jayvdb closed 1 year ago
Like https://github.com/Kozea/tinycss2/issues/21 , however it will be a bit more difficult in this case, and needing to get a reader from importlib.resources and use contents() instead of os.listdir()
importlib.resources
contents()
os.listdir()
This is now only the case as a fallback, and will disappear when older versions of Python are deprecated.
Like https://github.com/Kozea/tinycss2/issues/21 , however it will be a bit more difficult in this case, and needing to get a reader from
importlib.resources
and usecontents()
instead ofos.listdir()