python获取当前路径的方法

    def getCurDir():
        curDir=os.getcwd();
        return curDir;

 

posted @ 2015-03-18 21:26  奔雷手  阅读(168)  评论(0编辑  收藏  举报