os.listdir(path) 返回給定路徑中的文件名和子目錄字符串列表,如果省略則返回當前值。 ... import pathlib >>> flist = [] >>> for p in pathlib.Path('.
確定! 回上一頁