1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24
| class Graphic:
def __init__(self):
self.fen = Tk()
self.fen.title('Findme')
self.fen.geometry("1000x920")
Button(self.fen, text='SCAN', fg= 'black', command= self.SendMessage).place(x='900', y='35')
Button(self.fen, text= 'QUIT', fg= 'black', command= self.fen.quit).place(x='903', y='80')
self.entry = Entry(self.fen, width=50).place(x='300', y='39')
Label(self.fen,text='input your website:',fg='red').place(x='90', y='40')
self.scrollbar = Scrollbar(self.fen)
Text(self.fen,bg= 'white', width= 100, height= 35, yscroll= self.scrollbar.set).place(x='160', y= '130')
def SendMessage(self):
Label(self.fen, text ='STARTING SCAN...', bg= 'red').place(x='450', y='80')
if __name__ == "__main__":
graphical = Graphic()
graphical.fen.mainloop() |
Partager