Python qq 发送消息

2017-09-30  本文已影响970人  我是传奇lz

Python qq 发送消息

# -*- coding: utf-8 -*-
import pypinyin
import itertools
import os
from fuzzyfinder import fuzzyfinder

# Set Directory
script_dir = os.path.dirname(os.path.abspath(__file__))
os.chdir(script_dir) # change to the path that you already know

Name = input('Name of the Receiver: ')

clientDict = {'gf':'977099128', 'xj':'1197368820', 'lxr':'2319216309', 'qr':'1336474360'}

os.system('start tencent://message/?uin=' + clientDict[Name])

上一篇 下一篇

猜你喜欢

热点阅读