要在Python中使用Pathlib和glob模块查找一个目录中的所有文件(不包括子目录),可以使用以下代码: from pathlib import Path path = Path('/your/directory/path') ...
確定! 回上一頁