python 文件路径、文件名、后缀名处理
def jwkj_get_filePath_fileName_fileExt(filename): (filepath,tempfilename) = os.path.split(filename); (shotname,extension) = os.path.splitext(tempfilename); return filepath,shotname,extension path=jwkj_get_filePath_fileName_fileExt(url_txt.name)[0]
转载自:https://blog.csdn.net/huluanchushou/article/details/86098397