showing subfolders in google drive using python api
问题 I'm trying to list all folders(and subfolders) in google drive. My root folder has six subfolders in it. but my code is only showing files. def credentials_from_file(): """Load credentials from a service account file Args: None Returns: service account credential object https://developers.google.com/identity/protocols/OAuth2ServiceAccount """ # https://developers.google.com/identity/protocols/googlescopes#drivev3 SCOPES = [ 'https://www.googleapis.com/auth/drive' ] SERVICE_ACCOUNT_FILE = '.