From 8848cf7f3914c9d056ff292dd27e1ae46d62b3a9 Mon Sep 17 00:00:00 2001 From: "DHR.Mike" Date: Tue, 9 Dec 2025 14:58:41 -0800 Subject: [PATCH] Update Uptated-Prototype/PiperTTS-GUI-Test.py --- Uptated-Prototype/PiperTTS-GUI-Test.py | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/Uptated-Prototype/PiperTTS-GUI-Test.py b/Uptated-Prototype/PiperTTS-GUI-Test.py index 21a217e..cb77bde 100644 --- a/Uptated-Prototype/PiperTTS-GUI-Test.py +++ b/Uptated-Prototype/PiperTTS-GUI-Test.py @@ -213,9 +213,14 @@ try: except: print("3 Fuckup.") try: - MyTestText = "There are {} Lines of text".format(len(MyTestText.readlines())) + MyTestText2 = len(MyTestText.readlines()) except: print("4 Fuckup.") + try: + print(MyTestText2) + except: + print("5th Fuckup." + except: print("An exception occurred - trying to count like dracula.") My_Test_Labe2 = Label(Controls_Box_Frame, textvariable=MyTestText)