title: Python | tkinter: What does tkinter.END do?
body: <p>Learning python through a book, and tkinter.END is used in a block of code without being explained </p>
  
  <pre><code>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']))
  ...
  </code></pre>
  
  <p>I've looked online, and I only run across examples of it, never mentioning it's function.
  I tried <code>help(tkinter)</code> in a shell and got <code>END = 'end'</code> 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.</p>