此外,针对文件夹,还可以使用 os.path.isdir(path) 方法。 Return True if path is an existing directory. import os folder_path = r"C:\ ...
確定! 回上一頁