print( os. listdir( '.')) #顯示當前目錄下的文件及文件夾 path = r"d:\test\log.log" print( os. path. split( path)) #分為路徑和文件名
確定! 回上一頁