finished_allseeingpi.py 文件源码

python
阅读 23 收藏 0 点赞 0 评论 0

项目:the-all-seeing-pi 作者: raspberrypilearning 项目源码 文件源码
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
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号