本文实例讲述了Python实现的微信红包提醒功能。分享给大家供大家参考,具体如下:
#coding=utf-8
import itchat
from itchat.content import TEXT
from itchat.content import *
import sys
import time
import re
reload(sys)
sys.setdefaultencoding('utf8')
import os
@itchat.msg_register(NOTE,isGroupChat=True)#监听群内红包消息
def receive_red_packet(msg):
1