import os path = os.path.join('home', 'foo', 'work') print(path) # Linux, OSX: home/foo/work # Windows: home\foo\work ...
確定! 回上一頁