摘要: from wxpy import * import time bot = Bot() def listen(pwd): time.sleep(3) return [msg for msg in bot.messages if msg.text == pwd] def add_group(users,group): try: group.add_me... 阅读全文
posted @ 2018-06-14 13:47 Erick-LONG 阅读(173) 评论(0) 推荐(0) 编辑
摘要: import csv from wxpy import * import time def read_info(): f = open('./sample.csv','r') reader = csv.DictReader(f) return [info for i in reader] def make_msg(raw_info): t = '{n}-同学请... 阅读全文
posted @ 2018-06-14 12:55 Erick-LONG 阅读(240) 评论(0) 推荐(0) 编辑
摘要: # san -- unzip --delte import os import shutil def scan_file(): files = os.listdir() for f in files: if f.endswith('.zip') return f def unzip_it(f): folder_name = f... 阅读全文
posted @ 2018-06-14 12:54 Erick-LONG 阅读(167) 评论(0) 推荐(0) 编辑