easy_install.py 文件源码

python
阅读 20 收藏 0 点赞 0 评论 0

项目:bawk 作者: jttwnsnd 项目源码 文件源码
def create_home_path(self):
        """Create directories under ~."""
        if not self.user:
            return
        home = convert_path(os.path.expanduser("~"))
        for name, path in six.iteritems(self.config_vars):
            if path.startswith(home) and not os.path.isdir(path):
                self.debug_print("os.makedirs('%s', 0o700)" % path)
                os.makedirs(path, 0o700)
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号