Google-oauth inside Jupyter Notebook
问题 I am using Google oauth2client and the code from sample is: flags = argparser.parse_args() credentials = run_flow(flow, storage, flags) All works in Python interactive or IDE but if I am trying to use the code from Jupiter Notebook I got an exception. Inside Jupiter Noteboo I am trying simple: from oauth2client.tools import argparser argparser.parse_args() and got: usage: __main__.py [--auth_host_name AUTH_HOST_NAME] [--noauth_local_webserver] [--auth_host_port [AUTH_HOST_PORT [AUTH_HOST_PORT