def send_tweet():
twitter = Twython(
consumer_key,
consumer_secret,
access_token,
access_token_secret
)
# Send the tweet
message = "The All Seeing Pi saw you!"
with open(output, 'rb') as photo:
twitter.update_status_with_media(status=message, media=photo)
# Set up buttons
finished_allseeingpi.py 文件源码
python
阅读 22
收藏 0
点赞 0
评论 0
评论列表
文章目录