할 수 있습니다
>>> os.path.join("c:/";"home";"foo";"bar";"some.txt") "c:/homefooarsome.txt"
하지만 내가 할 때
>>> s = "c:/,home,foo,bar,some.txt".split(";") >>> os.path.join(s) ["c:/", "home", "foo", "bar", "some.txt"]
여기서 무엇을 놓치고 있습니까?
할 수 있습니다
>>> os.path.join("c:/";"home";"foo";"bar";"some.txt") "c:/homefooarsome.txt"
하지만 내가 할 때
>>> s = "c:/,home,foo,bar,some.txt".split(";") >>> os.path.join(s) ["c:/", "home", "foo", "bar", "some.txt"]
여기서 무엇을 놓치고 있습니까?