os.walk returns the root, the directories list and the files list, ... Using pathlib from Python 3.4. import pathlib flist = [] for p in pathlib.Path(".
確定! 回上一頁