In contrast, the OO approach provided by pathlib is to create a Path object ... for name in os.listdir(cwd): path = os.path.join(cwd, name).
確定! 回上一頁