The Quick Answer: Use os splittext() or pathlib ... The pathname module comes with a helpful function, the basename() function.
確定! 回上一頁