J'ai trouvé ça (:j'espère que cela te conviendra,pour moi c'est super)
##dim_ecran
from Tkinter import*
class Ecran_total:
def __init__(self,l=None,h=None):
root.geometry("%sx%s+0+0" % (l,h))
root.config(bg='blue')
root.overrideredirect(TRUE)
def tchao():
root.destroy()
Tchao=Button(root,text='QUITTER',command=tchao).pack()
self.label=Label(root,text='Cette "root" remplit bien mon écan !',font=(
'Comic Sans MS',20,'bold'),bg='yellow')
def baratin(self):
self.label.pack()
if __name__ == '__main__':
root=Tk()
def construit():
Ecran_total(l=largeur,h=hauteur).baratin()
largeur=str(root.winfo_screenwidth()) ### voici ce qui détecte les
hauteur=str(root.winfo_screenheight()) ### dimensions de l'écran
Ecran_total(l=largeur,h=hauteur).baratin()
root.mainloop()