摘要: os.path.split() import os path = r'C:\Users\Public\book.txt' (head, tail) = os.path.split(path) print(head, tail) # C:\Users\Public book.txt os.path.s 阅读全文
posted @ 2022-04-14 17:07 Soldier&Justice 阅读(43) 评论(0) 推荐(0) 编辑