Python glob but against a list of strings rather than the filesystem

后端 未结 9 1771
被撕碎了的回忆
被撕碎了的回忆 2021-02-06 21:24

I want to be able to match a pattern in glob format to a list of strings, rather than to actual files in the filesystem. Is there any way to do this, or convert a glob

9条回答
提交回复
热议问题