摘要: 阅读全文
posted @ 2019-06-15 15:11 BIT-建模精英 阅读(98) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2019-06-15 15:10 BIT-建模精英 阅读(129) 评论(0) 推荐(0) 编辑
摘要: 包括输入抽奖者人数,输入抽奖者名称,开始抽奖和结束抽奖 def createWidgets(self): self.top = self.winfo_toplevel() self.style = Style() self.flag = True self.style.configure('Labe 阅读全文
posted @ 2019-06-15 15:03 BIT-建模精英 阅读(198) 评论(0) 推荐(0) 编辑
摘要: 输入奖品名称和奖品个数,生成奖池 def addPrize(self): try: if self.inputName.get() != None and self.inputName.get() != '': if self.inputChance.get()!= '' and isinstanc 阅读全文
posted @ 2019-06-15 15:03 BIT-建模精英 阅读(187) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2019-06-15 15:02 BIT-建模精英 阅读(123) 评论(0) 推荐(0) 编辑
摘要: import tkinter import random import threading import time import random as rd import tkinter as tk from tkinter import messagebox from tkinter import * import os, sys import re from tkinter import *... 阅读全文
posted @ 2019-06-15 15:00 BIT-建模精英 阅读(539) 评论(0) 推荐(0) 编辑
摘要: class randomMachine(object): import random as rd import tkinter as tk from tkinter import messagebox def setWeight(self, weight): for k, v in weight.items(): ... 阅读全文
posted @ 2019-06-15 15:00 BIT-建模精英 阅读(186) 评论(0) 推荐(0) 编辑