python os.path.dirname()

 ----返回文件所在的路径

----如果path变量直接是文件名则返回空

猜你喜欢

转载自www.cnblogs.com/baxianhua/p/10214313.html
今日推荐