join() #将分离的各部分组合成一个路径名 #用法如: >>>os.path.join("c:\temp\","test.txt") 'c:\\temp\\test.txt' 转载于:https://www.cnblogs.com/liuYY1989/p/4685768.html