5 lines
167 B
Python
Raw Normal View History

2024-12-03 09:40:26 +08:00
import os.path
file_path=r'C:\Users\Administrator\Desktop\货物标\output1\招标文件正文_procurement.pdf'
file_name=os.path.basename(file_path)
print(file_name)