Update Uptated-Prototype/PiperTTS-GUI-Test.py
This commit is contained in:
@@ -203,16 +203,18 @@ C_Button_Next = Button(Controls_Box_Frame, text="⏭", pady=5, padx=5, command=P
|
|||||||
# Creating a Test Text Label
|
# Creating a Test Text Label
|
||||||
My_Test_Label = Label(Controls_Box_Frame, text="Test Text?")
|
My_Test_Label = Label(Controls_Box_Frame, text="Test Text?")
|
||||||
My_Test_Label.grid(row=0, column=0, columnspan=4)
|
My_Test_Label.grid(row=0, column=0, columnspan=4)
|
||||||
|
#
|
||||||
|
My_Test_Label2 = Label(Controls_Box_Frame, text="")
|
||||||
|
#My_Test_Label2["text"] = MyTestText2
|
||||||
try:
|
try:
|
||||||
try:
|
try:
|
||||||
#MyTestText = Input_Box.get("1.0","end-1c")
|
#MyTestText = Input_Box.get("1.0","end-1c")
|
||||||
MyTestText2 = "There are {}, lines".format(len(Input_Box.get("1.0","end-1c").splitlines()))
|
#MyTestText2 = "There are {}, lines".format(len(Input_Box.get("1.0","end-1c").splitlines()))
|
||||||
|
My_Test_Label2["text"] = "There are {}, lines".format(len(Input_Box.get("1.0","end-1c").splitlines()))
|
||||||
except:
|
except:
|
||||||
print("Fuckup again.")
|
print("Fuckup again.")
|
||||||
except:
|
except:
|
||||||
print("An exception occurred - trying to count like dracula.")
|
print("An exception occurred - trying to count like dracula.")
|
||||||
My_Test_Label2 = Label(Controls_Box_Frame, text="")
|
|
||||||
My_Test_Label2["text"] = MyTestText2
|
|
||||||
My_Test_Label2.grid(row=2, column=0, columnspan=4)
|
My_Test_Label2.grid(row=2, column=0, columnspan=4)
|
||||||
|
|
||||||
# Aligning Buttons to grid
|
# Aligning Buttons to grid
|
||||||
|
|||||||
Reference in New Issue
Block a user