diff --git a/Uptated-Prototype/PiperTTS-GUI-Test.py b/Uptated-Prototype/PiperTTS-GUI-Test.py index c6fe7e8..b13254a 100644 --- a/Uptated-Prototype/PiperTTS-GUI-Test.py +++ b/Uptated-Prototype/PiperTTS-GUI-Test.py @@ -230,9 +230,8 @@ def OnKeyPress(event): print("The Binding Function Was Called!") # def OnKeyPress2nd(event): - result = Input_Box.count("1.0", "end-1c", "displaylines") - print(result) - print("The 2nd Binding Function Was Called!") + print("displaylines:", Input_Box.count("1.0", "end", "displaylines")) + print("lines:", Input_Box.count("1.0", "end", "lines")) # Input_Box.bind("", OnKeyPress2nd) Input_Box.bind("", OnKeyPress)