Nancy -4399资源库
import tkinter import draw1 , draw2 , draw3 , draw4 import game def draw ( ) : draw1 . picture ( ) def drawStar ( ) : draw2 . picture2 ( ) def drawTai ( ) : draw3 . main ( ) def drawDuo ( ) : draw4 . main ( ) def pickBall ( ) : game . main ( ) mywindow = tkinter . Tk ( ) mywindow . geometry ( "300x500" ) mywindow . title ( "nancy牌4399" ) # 按钮 btnU = tkinter . Button ( mywindow , text = "画图" , font = ( "Airal" , 20 ) , fg = "black" , bg = "#DCDCDC" , bd = 0.5 , command = draw ) btnU . place ( x = 20 , y = 20 , width = 100 , height = 60 ) # 按钮 btnA = tkinter . Button ( mywindow , text = "满天星" ,