主页
Python
Python ntpath 模块
demo_ref_module_ntpath_basic
运行 ❯
×
更改方向
保存代码
更改主题
import ntpath print(ntpath.basename("C:/Users/Emil/file.txt"))
file.txt