Data scientist Chris Albon has been posting pictures of his machine learning flash cards on Twitter. This repo uses a Jupyter notebook to download them for convenient viewing.
Click the Create New App button and define your new app. Here are some example values:
Name: Get Flashcards - <your name>
Description: Chris Albon ML Flashcard puller
Website: http://www.not-used.com
Callback URLs: `` <= blank
Check the Developer Agreement and click the Create your Twitter application button.
In the application details page, Select the "Keys and Access Tokens" tab.
Under "Your Access Token", click the Create my access token button.
Insert your credentials
Open Get Flashcards.ipynb and locate these two lines:
"auth = tweepy.OAuthHandler(consumer_key, consumer_secret) #Fill these in\n",
"auth.set_access_token(access_token, access_token_secret) #Fill these in\n",
Replace the consumer_key, consumer_secret, access_token, and access_token_secret with single-quoted values from your application settings created in the previous step.
请发表评论