I would do import os path = os.path.normpath(path) path.split(os.sep). First normalize the path string into a proper string for the OS.
確定! 回上一頁