Update Uptated-Prototype/PiperTTS-GUI-Test.py
This commit is contained in:
@@ -135,6 +135,7 @@ def PiperTTS_GUI_TextFile_Open():
|
|||||||
try:
|
try:
|
||||||
Root_Window.filename = filedialog.askopenfilename(initialdir = "./",title = "Select file",filetypes = (("Text files","*.txt"),("all files","*.*")))
|
Root_Window.filename = filedialog.askopenfilename(initialdir = "./",title = "Select file",filetypes = (("Text files","*.txt"),("all files","*.*")))
|
||||||
print(Root_Window.filename)
|
print(Root_Window.filename)
|
||||||
|
print(type(Root_Window.filename))
|
||||||
if Root_Window.filename:
|
if Root_Window.filename:
|
||||||
with open(Root_Window.filename) as f:
|
with open(Root_Window.filename) as f:
|
||||||
Cursor_Position = Input_Box.index(INSERT)
|
Cursor_Position = Input_Box.index(INSERT)
|
||||||
|
|||||||
Reference in New Issue
Block a user