#!/usr/bin/env python # -*- coding: utf-8 -*- from tkinter import * def action(): print("Yes, we can !") root = Tk() #w = Label(root, text="Bonjour!") #w.grid(row=?) champ = Entry(root) champ.grid(row=0) b = Button(root,text="Click here !",command=action) b.grid(row=1) root.mainloop()