該函數可以把path表示的路徑分割成(目錄名, 文件名)的元組形式,而不管path是否真的存在。 如:. os.path.split(r"C:\Python36\file.txt"). 將會返回:. ( ...
確定! 回上一頁