#!/usr/bin/env python3 from tkinter import * import pay window = Tk() title = Label(window, text="Paiement Ḡ1") title.pack() # Issuer input issuer = StringVar() xIssuer = Entry(window, textvariable=issuer, width=30) xIssuer.pack() # Comment input comment = StringVar() xComment = Entry(window, textvariable=comment, width=30) xComment.pack() def ProceedPaiement(): print("Paiement en cours ...") sendButton = Button(window, text="Envoyer", command=ProceedPaiement) sendButton.pack() window.mainloop()