python获取当前目录

import os

os.path.dirname(os.getcwd())

posted @ 2018-08-14 09:23  leeQQQ  阅读(275)  评论(0)    收藏  举报