赞
踩
>>> a = "/home" >>> b = "/home/desktop" >>> c = os.path.join(a, b) >>> c >>> "/home/desktop"
以前代码写错了,却不出BUG,很纳闷,找了半天原来是有这样的机制