Create an empty tkinter window - Python

0 votes
How do I create an empty tkinter window using python?
Jul 22 in Python by Ali
24 views

1 answer to this question.

0 votes

Its pretty simple:

# import the module
import Tkinter
$Create window
top = Tkinter.Tk()
# Code to add widgets will go here...
top.mainloop()
answered Jul 22 by Aysha

Related Questions In Python

0 votes
1 answer

Create an empty list in python with certain size

Try this instead: lst = [None] * 10 The ...READ MORE

answered Aug 2, 2018 in Python by bug_seeker
• 15,350 points
386 views
0 votes
1 answer

Create an empty array

You don't have to. The size of ...READ MORE

answered Jun 7, 2018 in Python by Hamartia's Mask
• 1,580 points
14 views
0 votes
1 answer

Creating an empty list in Python

Here is how you can test which ...READ MORE

answered Aug 17, 2018 in Python by Priyaj
• 56,900 points
72 views
0 votes
1 answer

Need help with Tkinter window formatting using Python

Tkininter comes with the columnspan argument to span the labels ...READ MORE

answered Sep 7, 2018 in Python by ariaholic
• 7,340 points
46 views
+1 vote
2 answers

how can i count the items in a list?

Syntax :            list. count(value) Code: colors = ['red', 'green', ...READ MORE

answered Jul 6 in Python by Neha
• 330 points

edited Jul 8 by Kalgi 275 views
+4 votes
6 answers
+4 votes
7 answers
+1 vote
4 answers

Count the frequency of an item in a python list

To count the number of appearances: from collections ...READ MORE

answered Oct 18, 2018 in Python by tinitales
1,000 views