push_msn.py 文件源码

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

项目:stock 作者: Rockyzsu 项目源码 文件源码
def push_wechat(name, real_price, real_percent, type):
    name=u'wwwei'
    itchat.auto_login(hotReload=True)
    account=itchat.get_friends(name)
    for i in account:
        if i[u'PYQuanPin']==name:
            toName=i['UserName']
    content=name+' ' + str(real_price)+' '+ str(real_percent)+' percent '+ type
    itchat.send(content,toUserName=toName)
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号