使用only basename会给出最后一个斜杠(在本例中为)之后的所有内容''。 ... 使用python 3,您可以使用 pathlib 模块( pathlib.PurePath 例如):
確定! 回上一頁