def read_token_file(filename):
    with open(filename) as f:
        return f.readline().strip(), f.readline().strip()
Read a token file and return the oauth token and oauth token secret.
dataset/ETHPy150Open rmcgibbo/figshare/figshare/oauth_dance.py/read_token_file