Created
September 4, 2017 23:13
-
-
Save M0nica/080bb680cb7e6d000432c85373d28c6a to your computer and use it in GitHub Desktop.
An example script to pass in API keys/hidden variables from config.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import config | |
from twython import Twython, TwythonError | |
# create a Twython object by passing the necessary secret passwords | |
twitter = Twython(config.api_key, config.api_secret, config.access_token, config.token_secret) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment