2024-12-03 09:40:26 +08:00

5 lines
167 B
Python

import os.path
file_path=r'C:\Users\Administrator\Desktop\货物标\output1\招标文件正文_procurement.pdf'
file_name=os.path.basename(file_path)
print(file_name)