在python 项目开发过程中,经常需要将获取到的路径进行拼接,
# os.path.join(path1,path2) 将两个路径拼接起来 os.path.join("/usr","/etc/conf") >>>"/usr/etc/conf"