Tkinter Text.get() Raises A Typeerror Exception
from tkinter import * def save_d(): files = open('mp3list.txt','a') files.write('title :\n') files.write('%s' % lists.get()) files.write('appraisal :\n') files
You need to pass the Text.get()
function a start and stop index indicating what part of the text in the Text
widget you want.
If you want to get all the text in the Text
widget, you can use
appraisal.get('1.0', END)
Post a Comment for "Tkinter Text.get() Raises A Typeerror Exception"