# -*- coding: utf-8 -*-
"""
Created on Wed Jan 30 15:55:07 2019
@author: Administrator
"""
import requests
from tkinter import *
from tkinter import ttk
from tkinter import messagebox
import re
from PIL import Image, ImageTk
def Fonts(*args):
font = {'连笔手写':'396','仿宋':'331','艺术体':'364','明星手写':'5'}
return font[comboxlist1.get()]
def Get_sign():
startUrl = 'http://www.yishuzi.com/b/re13.php'
name = entry.get()
name = name.strip()
if name =="":
messagebox.showinfo("提示","请输入您的大名")
else:
fontsIndex = Fonts()
#模拟浏览器的post数据
data={
'id':name,
'idi':'jiqie',
'id1':fontsIndex,
'id2':'#FFFDFA',
'id3':'',
'id4':'#FF0000',
'id5':'',
'id6':'$FF7519'
}
result = requests.post(startUrl,data=data)
result.encoding = 'utf8'
python 个性签名设计
最新推荐文章于 2023-09-14 11:10:07 发布
