Solution Exercice 9 Python Tkinter
Télécharger la série de TP: https://drive.google.com/file/d/1J5BL8-BxR7A9__lz2vm3CPtMc9Z1uMQY/view
Lien vers le code: https://www.tresfacile.net/solution-exercice-9-calculatrice-graphique-python-tkinter/
À l'aide de la bibliothèque Tkinter Python, écrire un programme Python qui affiche une boîte de dialogue demandant à l'utilisateur de saisir un entier N et de lui renvoyer son double 2*N en appuyant sur la touche Entrée du clavier .
On crée ici deux labels tkinter et deux champ de saisi du type entry Tkinter, on associe au premier champ une bind action Return qui sera associée à une methode action qui va traiter l'action.
La vidéo a été réalisée sous xamp php 7.3 et l'ide notepad++ sous Windows 10. Pour un visionnage de qualité, utiliser le navigateur google chrome.
Using the Tkinter Python library, write a Python program that displays a dialog asking the user to type an integer N and return its double 2 * N to it by pressing the Enter key on the keyboard.
We create here two labels tkinter and two input fields of the Tkinter entry type, we associate with the first field a bind action Return which will be associated with an action method which will process the action.
The video was produced under xamp php 7.3 and the notepad ++ idee under Windows 10. For a quality viewing, use the google chrome browser.