__init__.py 文件源码

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

项目:git-pull-request 作者: jd 项目源码 文件源码
def get_login_password(site_name="github.com", netrc_file="~/.netrc"):
    """Read a .netrc file and return login/password for LWN."""
    n = netrc.netrc(os.path.expanduser(netrc_file))
    return n.hosts[site_name][0], n.hosts[site_name][2]
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号