#python #github #permissions #repository #admin
#питон #github #разрешения #хранилище #администратор
Вопрос:
import os from git hub import Github # First I will create a Github instance: # using an access token access_token = os.get ("GH_TOKEN", None) access_token = "....." if access_token is None: print("No access token provided") exit(1) g = Github(access_token) for repo in g.get_user().get_repos(): print(repo.name)