| 12
 3
 4
 5
 6
 7
 8
 9
 10
 11
 12
 13
 14
 15
 16
 17
 18
 19
 20
 21
 22
 23
 24
 25
 26
 27
 28
 29
 30
 31
 32
 33
 
 | def ITA():
    if lol.get() == "S":
        def MOZO():
            print("bonjour",loucou.get(),"ca va ")
 
         champ_label= Label(Mafenetre, text =" IP of WebSite",bg="black",fg="green")
         champ_label.pack()
 
         loucou = StringVar()
         louc   = Entry(Mafenetre, textvariable = loucou , fg="green",bg="black")
         louc.pack()
 
         BMP = Button(Mafenetre, text = "Valider",command = MOZO)
         BMP.pack()
 
 
 
Mafenetre = Tk()
Mafenetre.title("####----____MAIN____----####")
Mafenetre["bg"]= "black"
 
 
 
champ_label = Label(Mafenetre,text="Rechercher",bg="black",fg ="green")
champ_label.pack()
lol         = StringVar()
loul        = Entry(Mafenetre, textvariable=lol)
loul.pack()
champ_label = Label(Mafenetre)
champ_label.pack()
 
BZ =Button(Mafenetre, command =ITA)
BZ.pack() | 
Partager