See: https://docs.python.org/3.5/library/os.path.html ... Use splitext to split a path into: the path + filename; and the file extension:.
確定! 回上一頁