Tkinter Window showing blank screen while running
up vote
-2
down vote
favorite
this is my first post on SO.
I decided to try and write a program that would act like a scrabble cheat program for my end of year project. I thought it would be cool to create a program for people I know to use and it would also give people something to practice with. Q. When I run the program it seems to run without any issues other than the fact that the Tkinter window comes up completely blank. Can anyone identify what I did wrong in my code?
# GUI
from tkinter import *
from ReadFile import *
from tkinter import messagebox
words = ReadWords()
class Application(Frame):
def __init__(self, master):
super().__init__(master)
self.grid()
# Create control variables
self.ReadWords = ReadWords()
self.twoLetter = StringVar() # Two Letters
self.twoLetter.set(words.twoLetterWords()) # Two Letters
self.qNotU = StringVar() # Q not U
self.qNotU.set(words.QnotU()) # Q not U
# Drawing Control buttons on GUI
# Two Letters
self.btnTwoLetters = Button(self, text="Display all words with Two Letters", command=self.twoLetters,
font="Helvetica 16 bold")
self.btnTwoLetters.grid(row=3, column=6)
# Q Not U
self.btnQNotU = Button(self, text="Words that start with a “Q” but are not followed by a “u”. ",
command=self.qnotU, font="Helvetica 16 bold")
self.btnQNotU.grid(row=3, column=7) # 3 to 4
# Word Verifier
self.btnwordVerify = Button(self, text="Word Verifier", command=self.wordVerifier,
font="Helvetica 16 bold")
self.btnwordVerify.grid(row=1, column=6)
self.wordVerifierInput = Entry(self, width=10, font="Helvetica 16 bold", background="grey")
self.wordVerifierInput.grid(row=2, column=6)
self.wordVerifierInput.config(state="normal")
# 3 Letters + User Input
self.btnthreeLetters = Button(self, text="Display all words with 3 letters from a user input",
command=self.threeLetters,
font="Helvetica 16 bold")
self.btnthreeLetters.grid(row=1, column=7)
self.threeLettersInput = Entry(self, width=10, font="Helvetica 16 bold", background="grey")
self.threeLettersInput.grid(row=2, column=7)
self.threeLettersInput.config(state="normal")
# Words That End In...
self.btnEndsWith = Button(self, text="Words that end in...", command=self.endsWith,
font="Helvetica 16 bold")
self.btnEndsWith.grid(row=4, column=6)
self.endsWithInput = Entry(self, width=10, font="Helvetica 16 bold", background="grey")
self.endsWithInput.grid(row=5, column=6)
self.endsWithInput.config(state="normal")
# X or Z and a user input
self.btnxOrZ = Button(self, text="X or Z plus an input", command=self.xOrZ,
font="Helvetica 16 bold")
self.btnxOrZ.grid(row=4, column=0)
self.xOrZInput = Entry(self, width=10, font="Helvetica 16 bold", background="grey")
self.xOrZInput.grid(row=5, column=0)
self.xOrZInput.config(state="normal")
# Word Begins With a User Input
self.btnStartsWith = Button(self, text="Words that start with", command=self.startsWith,
font="Helvetica 16 bold")
self.btnStartsWith.grid(row=4, column=7)
self.startsWithInput = Entry(self, width=10, font="Helvetica 16 bold", background="grey")
self.startsWithInput.grid(row=5, column=7)
self.startsWithInput.config(state="normal")
# Box to display orders
self.txtOrder = Text(self, width=60, height=10, font="Helvetica 16 bold", background="grey")
self.txtOrder.grid(row=0, rowspan=3, column=0, columnspan=2)
self.txtOrder.config(state="disabled")
# Functions to control each button
def qnotU(self):
msg = "All Q but not U "
msg += self.qNotU.get()
self.txtOrder.config(state="normal") # insert it into the text box
self.txtOrder.delete(0.0, END) # Deletes entry from text box
self.txtOrder.insert(0.0, msg)
self.txtOrder.config(state="disabled")
def wordVerifier(self):
inputFromButton = self.wordVerifierInput.get()
userinput, isWord = self.ReadWords.wordVerifier(inputFromButton)
self.txtOrder.config(state="normal")
self.txtOrder.delete(0.0, END)
self.txtOrder.insert(0.0, isWord)
self.txtOrder.config(state="disabled")
def endsWith(self):
inputFromButton = self.endsWithInput.get()
userinput, isWord = self.ReadWords.endsWith(inputFromButton)
self.txtOrder.config(state="normal")
self.txtOrder.delete(0.0, END)
self.txtOrder.insert(0.0, isWord)
self.txtOrder.config(state="disabled")
def startsWith(self):
inputFromButton = self.startsWithInput.get()
userinput, isWord = self.ReadWords.startsWith(inputFromButton)
self.txtOrder.config(state="normal")
self.txtOrder.delete(0.0, END)
self.txtOrder.insert(0.0, isWord)
self.txtOrder.config(state="disabled")
def threeLetters(self):
inputFromButton = self.threeLettersInput.get()
userinput, isWord = self.ReadWords.threeLetters(inputFromButton)
self.txtOrder.config(state="normal")
self.txtOrder.delete(0.0, END)
self.txtOrder.insert(0.0, isWord)
self.txtOrder.config(state="disabled")
def xOrZ(self):
inputFromButton = self.xOrZInput.get()
userinput, isWord = self.ReadWords.containsXorZ(inputFromButton)
self.txtOrder.config(state="normal")
self.txtOrder.delete(0.0, END)
self.txtOrder.insert(0.0, isWord)
self.txtOrder.config(state="disabled")
def twoLetters(self):
msg = self.twoLetter.get()
self.txtOrder.config(state="normal")
self.txtOrder.delete(0.0, END)
self.txtOrder.insert(0.0, msg)
self.txtOrder.config(state="disabled")
def main():
root = Tk()
root.title("Scrabbler")
root.geometry("1280x800")
root.mainloop()
# myApp = Application(root)
# return myApp
main()
python tkinter
|
show 1 more comment
up vote
-2
down vote
favorite
this is my first post on SO.
I decided to try and write a program that would act like a scrabble cheat program for my end of year project. I thought it would be cool to create a program for people I know to use and it would also give people something to practice with. Q. When I run the program it seems to run without any issues other than the fact that the Tkinter window comes up completely blank. Can anyone identify what I did wrong in my code?
# GUI
from tkinter import *
from ReadFile import *
from tkinter import messagebox
words = ReadWords()
class Application(Frame):
def __init__(self, master):
super().__init__(master)
self.grid()
# Create control variables
self.ReadWords = ReadWords()
self.twoLetter = StringVar() # Two Letters
self.twoLetter.set(words.twoLetterWords()) # Two Letters
self.qNotU = StringVar() # Q not U
self.qNotU.set(words.QnotU()) # Q not U
# Drawing Control buttons on GUI
# Two Letters
self.btnTwoLetters = Button(self, text="Display all words with Two Letters", command=self.twoLetters,
font="Helvetica 16 bold")
self.btnTwoLetters.grid(row=3, column=6)
# Q Not U
self.btnQNotU = Button(self, text="Words that start with a “Q” but are not followed by a “u”. ",
command=self.qnotU, font="Helvetica 16 bold")
self.btnQNotU.grid(row=3, column=7) # 3 to 4
# Word Verifier
self.btnwordVerify = Button(self, text="Word Verifier", command=self.wordVerifier,
font="Helvetica 16 bold")
self.btnwordVerify.grid(row=1, column=6)
self.wordVerifierInput = Entry(self, width=10, font="Helvetica 16 bold", background="grey")
self.wordVerifierInput.grid(row=2, column=6)
self.wordVerifierInput.config(state="normal")
# 3 Letters + User Input
self.btnthreeLetters = Button(self, text="Display all words with 3 letters from a user input",
command=self.threeLetters,
font="Helvetica 16 bold")
self.btnthreeLetters.grid(row=1, column=7)
self.threeLettersInput = Entry(self, width=10, font="Helvetica 16 bold", background="grey")
self.threeLettersInput.grid(row=2, column=7)
self.threeLettersInput.config(state="normal")
# Words That End In...
self.btnEndsWith = Button(self, text="Words that end in...", command=self.endsWith,
font="Helvetica 16 bold")
self.btnEndsWith.grid(row=4, column=6)
self.endsWithInput = Entry(self, width=10, font="Helvetica 16 bold", background="grey")
self.endsWithInput.grid(row=5, column=6)
self.endsWithInput.config(state="normal")
# X or Z and a user input
self.btnxOrZ = Button(self, text="X or Z plus an input", command=self.xOrZ,
font="Helvetica 16 bold")
self.btnxOrZ.grid(row=4, column=0)
self.xOrZInput = Entry(self, width=10, font="Helvetica 16 bold", background="grey")
self.xOrZInput.grid(row=5, column=0)
self.xOrZInput.config(state="normal")
# Word Begins With a User Input
self.btnStartsWith = Button(self, text="Words that start with", command=self.startsWith,
font="Helvetica 16 bold")
self.btnStartsWith.grid(row=4, column=7)
self.startsWithInput = Entry(self, width=10, font="Helvetica 16 bold", background="grey")
self.startsWithInput.grid(row=5, column=7)
self.startsWithInput.config(state="normal")
# Box to display orders
self.txtOrder = Text(self, width=60, height=10, font="Helvetica 16 bold", background="grey")
self.txtOrder.grid(row=0, rowspan=3, column=0, columnspan=2)
self.txtOrder.config(state="disabled")
# Functions to control each button
def qnotU(self):
msg = "All Q but not U "
msg += self.qNotU.get()
self.txtOrder.config(state="normal") # insert it into the text box
self.txtOrder.delete(0.0, END) # Deletes entry from text box
self.txtOrder.insert(0.0, msg)
self.txtOrder.config(state="disabled")
def wordVerifier(self):
inputFromButton = self.wordVerifierInput.get()
userinput, isWord = self.ReadWords.wordVerifier(inputFromButton)
self.txtOrder.config(state="normal")
self.txtOrder.delete(0.0, END)
self.txtOrder.insert(0.0, isWord)
self.txtOrder.config(state="disabled")
def endsWith(self):
inputFromButton = self.endsWithInput.get()
userinput, isWord = self.ReadWords.endsWith(inputFromButton)
self.txtOrder.config(state="normal")
self.txtOrder.delete(0.0, END)
self.txtOrder.insert(0.0, isWord)
self.txtOrder.config(state="disabled")
def startsWith(self):
inputFromButton = self.startsWithInput.get()
userinput, isWord = self.ReadWords.startsWith(inputFromButton)
self.txtOrder.config(state="normal")
self.txtOrder.delete(0.0, END)
self.txtOrder.insert(0.0, isWord)
self.txtOrder.config(state="disabled")
def threeLetters(self):
inputFromButton = self.threeLettersInput.get()
userinput, isWord = self.ReadWords.threeLetters(inputFromButton)
self.txtOrder.config(state="normal")
self.txtOrder.delete(0.0, END)
self.txtOrder.insert(0.0, isWord)
self.txtOrder.config(state="disabled")
def xOrZ(self):
inputFromButton = self.xOrZInput.get()
userinput, isWord = self.ReadWords.containsXorZ(inputFromButton)
self.txtOrder.config(state="normal")
self.txtOrder.delete(0.0, END)
self.txtOrder.insert(0.0, isWord)
self.txtOrder.config(state="disabled")
def twoLetters(self):
msg = self.twoLetter.get()
self.txtOrder.config(state="normal")
self.txtOrder.delete(0.0, END)
self.txtOrder.insert(0.0, msg)
self.txtOrder.config(state="disabled")
def main():
root = Tk()
root.title("Scrabbler")
root.geometry("1280x800")
root.mainloop()
# myApp = Application(root)
# return myApp
main()
python tkinter
1
You didn't start ` # myApp = Application(root)`
– stovfl
Nov 10 at 20:39
w3schools.com/python/python_classes.asp
– Black Thunder
Nov 11 at 5:05
@stovfl - How do I start it?
– F A
Nov 11 at 15:06
Follow this pattern tkinterbook/tkinter-hello-again
– stovfl
Nov 11 at 15:31
I still dont get what i've done wrong here. Could you perhaps edit the code to fix it? thank you @stovfl
– F A
Nov 11 at 15:55
|
show 1 more comment
up vote
-2
down vote
favorite
up vote
-2
down vote
favorite
this is my first post on SO.
I decided to try and write a program that would act like a scrabble cheat program for my end of year project. I thought it would be cool to create a program for people I know to use and it would also give people something to practice with. Q. When I run the program it seems to run without any issues other than the fact that the Tkinter window comes up completely blank. Can anyone identify what I did wrong in my code?
# GUI
from tkinter import *
from ReadFile import *
from tkinter import messagebox
words = ReadWords()
class Application(Frame):
def __init__(self, master):
super().__init__(master)
self.grid()
# Create control variables
self.ReadWords = ReadWords()
self.twoLetter = StringVar() # Two Letters
self.twoLetter.set(words.twoLetterWords()) # Two Letters
self.qNotU = StringVar() # Q not U
self.qNotU.set(words.QnotU()) # Q not U
# Drawing Control buttons on GUI
# Two Letters
self.btnTwoLetters = Button(self, text="Display all words with Two Letters", command=self.twoLetters,
font="Helvetica 16 bold")
self.btnTwoLetters.grid(row=3, column=6)
# Q Not U
self.btnQNotU = Button(self, text="Words that start with a “Q” but are not followed by a “u”. ",
command=self.qnotU, font="Helvetica 16 bold")
self.btnQNotU.grid(row=3, column=7) # 3 to 4
# Word Verifier
self.btnwordVerify = Button(self, text="Word Verifier", command=self.wordVerifier,
font="Helvetica 16 bold")
self.btnwordVerify.grid(row=1, column=6)
self.wordVerifierInput = Entry(self, width=10, font="Helvetica 16 bold", background="grey")
self.wordVerifierInput.grid(row=2, column=6)
self.wordVerifierInput.config(state="normal")
# 3 Letters + User Input
self.btnthreeLetters = Button(self, text="Display all words with 3 letters from a user input",
command=self.threeLetters,
font="Helvetica 16 bold")
self.btnthreeLetters.grid(row=1, column=7)
self.threeLettersInput = Entry(self, width=10, font="Helvetica 16 bold", background="grey")
self.threeLettersInput.grid(row=2, column=7)
self.threeLettersInput.config(state="normal")
# Words That End In...
self.btnEndsWith = Button(self, text="Words that end in...", command=self.endsWith,
font="Helvetica 16 bold")
self.btnEndsWith.grid(row=4, column=6)
self.endsWithInput = Entry(self, width=10, font="Helvetica 16 bold", background="grey")
self.endsWithInput.grid(row=5, column=6)
self.endsWithInput.config(state="normal")
# X or Z and a user input
self.btnxOrZ = Button(self, text="X or Z plus an input", command=self.xOrZ,
font="Helvetica 16 bold")
self.btnxOrZ.grid(row=4, column=0)
self.xOrZInput = Entry(self, width=10, font="Helvetica 16 bold", background="grey")
self.xOrZInput.grid(row=5, column=0)
self.xOrZInput.config(state="normal")
# Word Begins With a User Input
self.btnStartsWith = Button(self, text="Words that start with", command=self.startsWith,
font="Helvetica 16 bold")
self.btnStartsWith.grid(row=4, column=7)
self.startsWithInput = Entry(self, width=10, font="Helvetica 16 bold", background="grey")
self.startsWithInput.grid(row=5, column=7)
self.startsWithInput.config(state="normal")
# Box to display orders
self.txtOrder = Text(self, width=60, height=10, font="Helvetica 16 bold", background="grey")
self.txtOrder.grid(row=0, rowspan=3, column=0, columnspan=2)
self.txtOrder.config(state="disabled")
# Functions to control each button
def qnotU(self):
msg = "All Q but not U "
msg += self.qNotU.get()
self.txtOrder.config(state="normal") # insert it into the text box
self.txtOrder.delete(0.0, END) # Deletes entry from text box
self.txtOrder.insert(0.0, msg)
self.txtOrder.config(state="disabled")
def wordVerifier(self):
inputFromButton = self.wordVerifierInput.get()
userinput, isWord = self.ReadWords.wordVerifier(inputFromButton)
self.txtOrder.config(state="normal")
self.txtOrder.delete(0.0, END)
self.txtOrder.insert(0.0, isWord)
self.txtOrder.config(state="disabled")
def endsWith(self):
inputFromButton = self.endsWithInput.get()
userinput, isWord = self.ReadWords.endsWith(inputFromButton)
self.txtOrder.config(state="normal")
self.txtOrder.delete(0.0, END)
self.txtOrder.insert(0.0, isWord)
self.txtOrder.config(state="disabled")
def startsWith(self):
inputFromButton = self.startsWithInput.get()
userinput, isWord = self.ReadWords.startsWith(inputFromButton)
self.txtOrder.config(state="normal")
self.txtOrder.delete(0.0, END)
self.txtOrder.insert(0.0, isWord)
self.txtOrder.config(state="disabled")
def threeLetters(self):
inputFromButton = self.threeLettersInput.get()
userinput, isWord = self.ReadWords.threeLetters(inputFromButton)
self.txtOrder.config(state="normal")
self.txtOrder.delete(0.0, END)
self.txtOrder.insert(0.0, isWord)
self.txtOrder.config(state="disabled")
def xOrZ(self):
inputFromButton = self.xOrZInput.get()
userinput, isWord = self.ReadWords.containsXorZ(inputFromButton)
self.txtOrder.config(state="normal")
self.txtOrder.delete(0.0, END)
self.txtOrder.insert(0.0, isWord)
self.txtOrder.config(state="disabled")
def twoLetters(self):
msg = self.twoLetter.get()
self.txtOrder.config(state="normal")
self.txtOrder.delete(0.0, END)
self.txtOrder.insert(0.0, msg)
self.txtOrder.config(state="disabled")
def main():
root = Tk()
root.title("Scrabbler")
root.geometry("1280x800")
root.mainloop()
# myApp = Application(root)
# return myApp
main()
python tkinter
this is my first post on SO.
I decided to try and write a program that would act like a scrabble cheat program for my end of year project. I thought it would be cool to create a program for people I know to use and it would also give people something to practice with. Q. When I run the program it seems to run without any issues other than the fact that the Tkinter window comes up completely blank. Can anyone identify what I did wrong in my code?
# GUI
from tkinter import *
from ReadFile import *
from tkinter import messagebox
words = ReadWords()
class Application(Frame):
def __init__(self, master):
super().__init__(master)
self.grid()
# Create control variables
self.ReadWords = ReadWords()
self.twoLetter = StringVar() # Two Letters
self.twoLetter.set(words.twoLetterWords()) # Two Letters
self.qNotU = StringVar() # Q not U
self.qNotU.set(words.QnotU()) # Q not U
# Drawing Control buttons on GUI
# Two Letters
self.btnTwoLetters = Button(self, text="Display all words with Two Letters", command=self.twoLetters,
font="Helvetica 16 bold")
self.btnTwoLetters.grid(row=3, column=6)
# Q Not U
self.btnQNotU = Button(self, text="Words that start with a “Q” but are not followed by a “u”. ",
command=self.qnotU, font="Helvetica 16 bold")
self.btnQNotU.grid(row=3, column=7) # 3 to 4
# Word Verifier
self.btnwordVerify = Button(self, text="Word Verifier", command=self.wordVerifier,
font="Helvetica 16 bold")
self.btnwordVerify.grid(row=1, column=6)
self.wordVerifierInput = Entry(self, width=10, font="Helvetica 16 bold", background="grey")
self.wordVerifierInput.grid(row=2, column=6)
self.wordVerifierInput.config(state="normal")
# 3 Letters + User Input
self.btnthreeLetters = Button(self, text="Display all words with 3 letters from a user input",
command=self.threeLetters,
font="Helvetica 16 bold")
self.btnthreeLetters.grid(row=1, column=7)
self.threeLettersInput = Entry(self, width=10, font="Helvetica 16 bold", background="grey")
self.threeLettersInput.grid(row=2, column=7)
self.threeLettersInput.config(state="normal")
# Words That End In...
self.btnEndsWith = Button(self, text="Words that end in...", command=self.endsWith,
font="Helvetica 16 bold")
self.btnEndsWith.grid(row=4, column=6)
self.endsWithInput = Entry(self, width=10, font="Helvetica 16 bold", background="grey")
self.endsWithInput.grid(row=5, column=6)
self.endsWithInput.config(state="normal")
# X or Z and a user input
self.btnxOrZ = Button(self, text="X or Z plus an input", command=self.xOrZ,
font="Helvetica 16 bold")
self.btnxOrZ.grid(row=4, column=0)
self.xOrZInput = Entry(self, width=10, font="Helvetica 16 bold", background="grey")
self.xOrZInput.grid(row=5, column=0)
self.xOrZInput.config(state="normal")
# Word Begins With a User Input
self.btnStartsWith = Button(self, text="Words that start with", command=self.startsWith,
font="Helvetica 16 bold")
self.btnStartsWith.grid(row=4, column=7)
self.startsWithInput = Entry(self, width=10, font="Helvetica 16 bold", background="grey")
self.startsWithInput.grid(row=5, column=7)
self.startsWithInput.config(state="normal")
# Box to display orders
self.txtOrder = Text(self, width=60, height=10, font="Helvetica 16 bold", background="grey")
self.txtOrder.grid(row=0, rowspan=3, column=0, columnspan=2)
self.txtOrder.config(state="disabled")
# Functions to control each button
def qnotU(self):
msg = "All Q but not U "
msg += self.qNotU.get()
self.txtOrder.config(state="normal") # insert it into the text box
self.txtOrder.delete(0.0, END) # Deletes entry from text box
self.txtOrder.insert(0.0, msg)
self.txtOrder.config(state="disabled")
def wordVerifier(self):
inputFromButton = self.wordVerifierInput.get()
userinput, isWord = self.ReadWords.wordVerifier(inputFromButton)
self.txtOrder.config(state="normal")
self.txtOrder.delete(0.0, END)
self.txtOrder.insert(0.0, isWord)
self.txtOrder.config(state="disabled")
def endsWith(self):
inputFromButton = self.endsWithInput.get()
userinput, isWord = self.ReadWords.endsWith(inputFromButton)
self.txtOrder.config(state="normal")
self.txtOrder.delete(0.0, END)
self.txtOrder.insert(0.0, isWord)
self.txtOrder.config(state="disabled")
def startsWith(self):
inputFromButton = self.startsWithInput.get()
userinput, isWord = self.ReadWords.startsWith(inputFromButton)
self.txtOrder.config(state="normal")
self.txtOrder.delete(0.0, END)
self.txtOrder.insert(0.0, isWord)
self.txtOrder.config(state="disabled")
def threeLetters(self):
inputFromButton = self.threeLettersInput.get()
userinput, isWord = self.ReadWords.threeLetters(inputFromButton)
self.txtOrder.config(state="normal")
self.txtOrder.delete(0.0, END)
self.txtOrder.insert(0.0, isWord)
self.txtOrder.config(state="disabled")
def xOrZ(self):
inputFromButton = self.xOrZInput.get()
userinput, isWord = self.ReadWords.containsXorZ(inputFromButton)
self.txtOrder.config(state="normal")
self.txtOrder.delete(0.0, END)
self.txtOrder.insert(0.0, isWord)
self.txtOrder.config(state="disabled")
def twoLetters(self):
msg = self.twoLetter.get()
self.txtOrder.config(state="normal")
self.txtOrder.delete(0.0, END)
self.txtOrder.insert(0.0, msg)
self.txtOrder.config(state="disabled")
def main():
root = Tk()
root.title("Scrabbler")
root.geometry("1280x800")
root.mainloop()
# myApp = Application(root)
# return myApp
main()
python tkinter
python tkinter
asked Nov 10 at 20:13
F A
1
1
1
You didn't start ` # myApp = Application(root)`
– stovfl
Nov 10 at 20:39
w3schools.com/python/python_classes.asp
– Black Thunder
Nov 11 at 5:05
@stovfl - How do I start it?
– F A
Nov 11 at 15:06
Follow this pattern tkinterbook/tkinter-hello-again
– stovfl
Nov 11 at 15:31
I still dont get what i've done wrong here. Could you perhaps edit the code to fix it? thank you @stovfl
– F A
Nov 11 at 15:55
|
show 1 more comment
1
You didn't start ` # myApp = Application(root)`
– stovfl
Nov 10 at 20:39
w3schools.com/python/python_classes.asp
– Black Thunder
Nov 11 at 5:05
@stovfl - How do I start it?
– F A
Nov 11 at 15:06
Follow this pattern tkinterbook/tkinter-hello-again
– stovfl
Nov 11 at 15:31
I still dont get what i've done wrong here. Could you perhaps edit the code to fix it? thank you @stovfl
– F A
Nov 11 at 15:55
1
1
You didn't start ` # myApp = Application(root)`
– stovfl
Nov 10 at 20:39
You didn't start ` # myApp = Application(root)`
– stovfl
Nov 10 at 20:39
w3schools.com/python/python_classes.asp
– Black Thunder
Nov 11 at 5:05
w3schools.com/python/python_classes.asp
– Black Thunder
Nov 11 at 5:05
@stovfl - How do I start it?
– F A
Nov 11 at 15:06
@stovfl - How do I start it?
– F A
Nov 11 at 15:06
Follow this pattern tkinterbook/tkinter-hello-again
– stovfl
Nov 11 at 15:31
Follow this pattern tkinterbook/tkinter-hello-again
– stovfl
Nov 11 at 15:31
I still dont get what i've done wrong here. Could you perhaps edit the code to fix it? thank you @stovfl
– F A
Nov 11 at 15:55
I still dont get what i've done wrong here. Could you perhaps edit the code to fix it? thank you @stovfl
– F A
Nov 11 at 15:55
|
show 1 more comment
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53243011%2ftkinter-window-showing-blank-screen-while-running%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
1
You didn't start ` # myApp = Application(root)`
– stovfl
Nov 10 at 20:39
w3schools.com/python/python_classes.asp
– Black Thunder
Nov 11 at 5:05
@stovfl - How do I start it?
– F A
Nov 11 at 15:06
Follow this pattern tkinterbook/tkinter-hello-again
– stovfl
Nov 11 at 15:31
I still dont get what i've done wrong here. Could you perhaps edit the code to fix it? thank you @stovfl
– F A
Nov 11 at 15:55