我想使用正则表达式过滤python中的字符串列表。在以下情况下,仅保留扩展名为“ .npy”的文件。无效的代码:import re files = [ '/a/b/c/la_seg_x005_y003.png', ...
確定! 回上一頁