python获取当前目录

import os

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

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