Learning python through a book, and tkinter.END is used in a block of code without being explained
import tkinter
def count(text, out_data):
""" Update out_data with the total number of As, Ts, Cs, and Gs found in text."""
data = text.get('0.0', **tkinter.END**)
counts = {}
for char in 'ATCG':
counts[char] = data.count(char)
out_data.set('Num As: {0} Num Ts: {1} Num Cs: {2} Num Gs: {3}'.format(
counts['A'], counts['T'], counts['C'], counts['G']))
...
I've looked online, and I only run across examples of it, never mentioning it's function.
I tried help(tkinter)
in a shell and got END = 'end'
which wasn't very useful.
If more code is required, just let me know. Didn't want to post the entire code making you pointlessly read more for no reason.