不为别的,只为做一个连自己都羡慕的人

python 获取项目根路径

os.path.abspath(os.path.dirname(__file__)))

  

posted @ 2021-02-22 13:50  升级打怪  阅读(156)  评论(0)    收藏  举报