You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
46 lines
1.1 KiB
46 lines
1.1 KiB
import tkinter as tk
|
|
|
|
fenetre = tk.Tk()
|
|
fenetre.title("mots de passe")
|
|
canva=tk.Canvas(fenetre, width=500, height=500, bg='black')
|
|
tk.Label(text = "createur de mots de passe").grid(column=1,
|
|
columnspan=3)
|
|
entree = tk.Entry(fenetre,width=30)
|
|
entree.grid(column=1, columnspan=3)
|
|
|
|
tk.Checkbutton(text='majuscule').grid(column=2,
|
|
row=3,
|
|
padx=5,
|
|
pady=5,)
|
|
tk.Checkbutton(text='caractère spécial').grid(column=2,
|
|
row=4,
|
|
padx=5,
|
|
pady=5,)
|
|
tk.Checkbutton(text='tiret').grid(column=2,
|
|
row=5,
|
|
padx=5,
|
|
pady=5,)
|
|
tk.Checkbutton(text='minuscule').grid(column=2,
|
|
row=6,
|
|
padx=5,
|
|
pady=5,)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
fenetre.mainloop()
|