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()









share|improve this question


















  • 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















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()









share|improve this question


















  • 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













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()









share|improve this question













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






share|improve this question













share|improve this question











share|improve this question




share|improve this question










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














  • 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

















active

oldest

votes











Your Answer






StackExchange.ifUsing("editor", function () {
StackExchange.using("externalEditor", function () {
StackExchange.using("snippets", function () {
StackExchange.snippets.init();
});
});
}, "code-snippets");

StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "1"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});

function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});


}
});














 

draft saved


draft discarded


















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






























active

oldest

votes













active

oldest

votes









active

oldest

votes






active

oldest

votes
















 

draft saved


draft discarded



















































 


draft saved


draft discarded














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





















































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







Popular posts from this blog

Full-time equivalent

さくらももこ

13 indicted, 8 arrested in Calif. drug cartel investigation