wechat_demo.py 文件源码

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

项目:base_function 作者: Rockyzsu 项目源码 文件源码
def testcase1():
    id='@5493580a22c9ba5db849ba33d0911d3d'
    content=datetime.datetime.now().strftime("%H:%M:%S")
    itchat.auto_login(hotReload=True)
    #itchat.auto_login()
    itchat.send(content,toUserName='filehelper')
    account=itchat.get_friends(u'wwwei')
    print account
    print type(account)
    for i in account:
        #print type(i)
        #print i
        if i[u'PYQuanPin']==u'????':
            print i['UserName']
            #print i
    #itchat.send(content, toUserName=id)

    print 'done'
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号