草庐IT

PyGithub

全部标签

python - 如何使用 PyGithub 创建新的存储库

如何在Github上使用PyGithub创建一个新的存储库?我特别想知道如何使用create_repo方法?如何生成AuthenticatedUser? 最佳答案 我的问题的解决方案如下g=Github(token)user=g.get_user()repo=user.create_repo(full_name) 关于python-如何使用PyGithub创建新的存储库,我们在StackOverflow上找到一个类似的问题: https://stackover