python读取文件名
摘要:
xx=os.path.splitext(r'C:\Users\mydell\Desktop\mypdfocr\123.pdf') print(xx[0].split('\\')[-1]) 阅读全文
posted @ 2022-07-18 17:11 耀扬 阅读(105) 评论(0) 推荐(0)
posted @ 2022-07-18 17:11 耀扬 阅读(105) 评论(0) 推荐(0)
posted @ 2022-07-18 16:55 耀扬 阅读(7500) 评论(0) 推荐(0)