Search
 
SCRIPT & CODE EXAMPLE
 

PYTHON

ouvrir une autre fenetre tkinter

from tkinter import *
 
def faireApparaitreLeToplevel():
    top=Toplevel(root)
    lab=Label(top, text="Ce soir je vais manger des frites")
    lab.pack()
 
root=Tk()
go=Button(root, text="lancer", command=faireApparaitreLeToplevel)
go.pack()
root.mainloop()
Comment

PREVIOUS NEXT
Code Example
Python :: get id widget tkinter 
Python :: save python dic 
Python :: integer to boolean numpy 
Python :: couple legend from twin axes python 
Python :: how to read a data file in python and build a list of files 
Python :: jwt authentication python flask 
Python :: getting range lowest and highest values from np array 
Python :: python sort isdigit 
Python :: Programmatically determining programming languages based on file extensions in python 
Python :: convert fisheye video to normal python 
Python :: 2sf python 
Python :: pandas remove rows based on DATETIME column year 
Python :: inicair venv python 
Python :: compute mean over y for same x numpy 
Python :: % python nootation 
Python :: Single line Commenting in Python 
Python :: k7yKJk8vdjHvw56q7bCTxibvT 
Python :: replace special from beginning of string 
Python :: MultiValueDictKeyError at /user/register 
Python :: pycav install 
Python :: python to java converter 
Python :: logarithmic 2d histogram 
Python :: how to print string in python 
Python :: lipa na mpesa daraja python 
Python :: HTTP Error 403: Forbidden django account signup email 
Python :: python code for diamond with gap between odd rows 
Python :: Python: Sending a variable to another script 
Python :: print current date and time in python 
Python :: how to write a table from 1 to 10 with for loop in fython in 3 lines 
Python :: python chunks iterator 
ADD CONTENT
Topic
Content
Source link
Name
7+8 =