title: How to call event in entry when button or enter is pressed
body: <p>I'm currently programming a math program. It has the features of starting, then displaying math questions until you answered 10 correctly, and then stopping. It works, but the user can only confirm their answer when they press a button (<code>confirm()</code>). This is really annoying. I wanted to make it so that it also activates if the user presses <code>enter</code> while in the entry field.</p>
  <p>How to call an event if the user presses enter while their cursor is within the entry field?</p>
  <pre><code># GUI
  import sys
  import tkinter as tk
  import tkinter.ttk as ttk
  from tkinter.constants import *
  
  import gui2temp3_support
  
  class spiel:
      def __init__(self, top=None):
          '''This class configures and populates the toplevel window.
             top is the toplevel containing window.'''
          _bgcolor = '#d9d9d9'  # X11 color: 'gray85'
          _fgcolor = '#000000'  # X11 color: 'black'
          _compcolor = '#d9d9d9' # X11 color: 'gray85'
          _ana1color = '#d9d9d9' # X11 color: 'gray85'
          _ana2color = '#ececec' # Closest X11 color: 'gray92'
          self.style = ttk.Style()
          if sys.platform == &quot;win32&quot;:
              self.style.theme_use('winnative')
          self.style.configure('.',background=_bgcolor)
          self.style.configure('.',foreground=_fgcolor)
          self.style.map('.',background=
              [('selected', _compcolor), ('active',_ana2color)])
  
          top.geometry(&quot;600x450+475+21&quot;)
          top.minsize(600, 450)
          top.maxsize(600, 450)
          top.resizable(0,0)
          top.title(&quot;Mathe-Skill-Programm Aktiv&quot;)
          top.configure(background=&quot;#d9d9d9&quot;)
          top.configure(highlightbackground=&quot;#d9d9d9&quot;)
          top.configure(highlightcolor=&quot;black&quot;)
          top.bind('&lt;Button-1&gt;&lt;Button-1&gt;',lambda e:gui2temp3_support.spiel(e))
  
          self.top = top
  
          self.Appname = tk.Label(self.top)
          self.Appname.place(relx=0.0, rely=0.0, height=51, width=604)
          self.Appname.configure(activebackground=&quot;#f9f9f9&quot;)
          self.Appname.configure(activeforeground=&quot;black&quot;)
          self.Appname.configure(background=&quot;#008080&quot;)
          self.Appname.configure(compound='left')
          self.Appname.configure(disabledforeground=&quot;#a3a3a3&quot;)
          self.Appname.configure(font=&quot;-family {Bahnschrift Light} -size 24 -weight bold&quot;)
          self.Appname.configure(foreground=&quot;#ffffff&quot;)
          self.Appname.configure(highlightbackground=&quot;#008080&quot;)
          self.Appname.configure(highlightcolor=&quot;black&quot;)
          self.Appname.configure(text='''Valentin's Lernprogramm''')
  
          self.Frame1 = tk.Frame(self.top)
          self.Frame1.place(relx=0.017, rely=0.133, relheight=0.856
                  , relwidth=0.975)
          self.Frame1.configure(relief='groove')
          self.Frame1.configure(borderwidth=&quot;2&quot;)
          self.Frame1.configure(relief=&quot;groove&quot;)
          self.Frame1.configure(background=&quot;#d9d9d9&quot;)
          self.Frame1.configure(highlightbackground=&quot;#d9d9d9&quot;)
          self.Frame1.configure(highlightcolor=&quot;black&quot;)
  
          self.confirm = tk.Button(self.Frame1)
          self.confirm.place(relx=0.034, rely=0.26, height=44, width=197)
          self.confirm.configure(activebackground=&quot;#ececec&quot;)
          self.confirm.configure(activeforeground=&quot;#000000&quot;)
          self.confirm.configure(background=&quot;#008080&quot;)
          self.confirm.configure(command=gui2temp3_support.speichern)
          self.confirm.configure(compound='left')
          self.confirm.configure(disabledforeground=&quot;#a3a3a3&quot;)
          self.confirm.configure(font=&quot;-family {Segoe UI} -size 9 -weight bold&quot;)
          self.confirm.configure(foreground=&quot;#ffffff&quot;)
          self.confirm.configure(highlightbackground=&quot;#d9d9d9&quot;)
          self.confirm.configure(highlightcolor=&quot;black&quot;)
          self.confirm.configure(pady=&quot;0&quot;)
          self.confirm.configure(text='''Antwort bestätigen''')
          self.confirm.bind('&lt;Button-1&gt;',lambda e:gui2temp3_support.confirm(e))
  
          self.results = tk.LabelFrame(self.Frame1)
          self.results.place(relx=0.017, rely=0.39, relheight=0.584
                  , relwidth=0.957)
          self.results.configure(relief='groove')
          self.results.configure(font=&quot;-family {Segoe UI} -size 9 -weight bold&quot;)
          self.results.configure(foreground=&quot;black&quot;)
          self.results.configure(text='''Resultate''')
          self.results.configure(background=&quot;#d9d9d9&quot;)
          self.results.configure(highlightbackground=&quot;#d9d9d9&quot;)
          self.results.configure(highlightcolor=&quot;black&quot;)
  
          self.zeit = tk.Label(self.results)
          self.zeit.place(relx=0.018, rely=0.133, height=21, width=284
                  , bordermode='ignore')
          self.zeit.configure(activebackground=&quot;#f9f9f9&quot;)
          self.zeit.configure(activeforeground=&quot;black&quot;)
          self.zeit.configure(anchor='w')
          self.zeit.configure(background=&quot;#d9d9d9&quot;)
          self.zeit.configure(compound='left')
          self.zeit.configure(disabledforeground=&quot;#a3a3a3&quot;)
          self.zeit.configure(font=&quot;-family {Segoe UI} -size 9 -weight bold&quot;)
          self.zeit.configure(foreground=&quot;#000000&quot;)
          self.zeit.configure(highlightbackground=&quot;#d9d9d9&quot;)
          self.zeit.configure(highlightcolor=&quot;black&quot;)
          self.zeit.configure(text='''Zeit benötigt:''')
  
          self.score = tk.Label(self.results)
          self.score.place(relx=0.018, rely=0.222, height=21, width=244
                  , bordermode='ignore')
          self.score.configure(activebackground=&quot;#f9f9f9&quot;)
          self.score.configure(activeforeground=&quot;black&quot;)
          self.score.configure(anchor='w')
          self.score.configure(background=&quot;#d9d9d9&quot;)
          self.score.configure(compound='left')
          self.score.configure(disabledforeground=&quot;#a3a3a3&quot;)
          self.score.configure(font=&quot;-family {Segoe UI} -size 9 -weight bold&quot;)
          self.score.configure(foreground=&quot;#000000&quot;)
          self.score.configure(highlightbackground=&quot;#d9d9d9&quot;)
          self.score.configure(highlightcolor=&quot;black&quot;)
          self.score.configure(text='''Score:''')
  
          self.nachricht = tk.Label(self.results)
          self.nachricht.place(relx=0.018, rely=0.8, height=21, width=534
                  , bordermode='ignore')
          self.nachricht.configure(activebackground=&quot;#f9f9f9&quot;)
          self.nachricht.configure(activeforeground=&quot;black&quot;)
          self.nachricht.configure(anchor='w')
          self.nachricht.configure(background=&quot;#d9d9d9&quot;)
          self.nachricht.configure(compound='left')
          self.nachricht.configure(disabledforeground=&quot;#a3a3a3&quot;)
          self.nachricht.configure(font=&quot;-family {Segoe UI} -size 9 -weight bold&quot;)
          self.nachricht.configure(foreground=&quot;#000000&quot;)
          self.nachricht.configure(highlightbackground=&quot;#d9d9d9&quot;)
          self.nachricht.configure(highlightcolor=&quot;black&quot;)
          self.nachricht.configure(text= &quot;Hallo, Lieber Benutzer!&quot;)
  
          self.temp_score = tk.Label(self.results)
          self.temp_score.place(relx=0.018, rely=0.311, height=21, width=244
                  , bordermode='ignore')
          self.temp_score.configure(activebackground=&quot;#f9f9f9&quot;)
          self.temp_score.configure(activeforeground=&quot;black&quot;)
          self.temp_score.configure(anchor='w')
          self.temp_score.configure(background=&quot;#d9d9d9&quot;)
          self.temp_score.configure(compound='left')
          self.temp_score.configure(disabledforeground=&quot;#a3a3a3&quot;)
          self.temp_score.configure(font=&quot;-family {Segoe UI} -size 9 -weight bold&quot;)
          self.temp_score.configure(foreground=&quot;#000000&quot;)
          self.temp_score.configure(highlightbackground=&quot;#d9d9d9&quot;)
          self.temp_score.configure(highlightcolor=&quot;black&quot;)
          self.temp_score.configure(text='''Punkte:''')
  
          self.multiplier = tk.Label(self.results)
          self.multiplier.place(relx=0.018, rely=0.4, height=21, width=244
                  , bordermode='ignore')
          self.multiplier.configure(activebackground=&quot;#f9f9f9&quot;)
          self.multiplier.configure(activeforeground=&quot;black&quot;)
          self.multiplier.configure(anchor='w')
          self.multiplier.configure(background=&quot;#d9d9d9&quot;)
          self.multiplier.configure(compound='left')
          self.multiplier.configure(disabledforeground=&quot;#a3a3a3&quot;)
          self.multiplier.configure(font=&quot;-family {Segoe UI} -size 9 -weight bold&quot;)
          self.multiplier.configure(foreground=&quot;#000000&quot;)
          self.multiplier.configure(highlightbackground=&quot;#d9d9d9&quot;)
          self.multiplier.configure(highlightcolor=&quot;black&quot;)
          self.multiplier.configure(text='''Multiplier:''')
  
          self.richtige_ant = tk.Label(self.results)
          self.richtige_ant.place(relx=0.018, rely=0.489, height=21, width=244
                  , bordermode='ignore')
          self.richtige_ant.configure(activebackground=&quot;#f9f9f9&quot;)
          self.richtige_ant.configure(activeforeground=&quot;black&quot;)
          self.richtige_ant.configure(anchor='w')
          self.richtige_ant.configure(background=&quot;#d9d9d9&quot;)
          self.richtige_ant.configure(compound='left')
          self.richtige_ant.configure(disabledforeground=&quot;#a3a3a3&quot;)
          self.richtige_ant.configure(font=&quot;-family {Segoe UI} -size 9 -weight bold&quot;)
          self.richtige_ant.configure(foreground=&quot;#000000&quot;)
          self.richtige_ant.configure(highlightbackground=&quot;#d9d9d9&quot;)
          self.richtige_ant.configure(highlightcolor=&quot;black&quot;)
          self.richtige_ant.configure(text='''''')
  
          self.deine_ant = tk.Label(self.results)
          self.deine_ant.place(relx=0.018, rely=0.578, height=21, width=244
                  , bordermode='ignore')
          self.deine_ant.configure(activebackground=&quot;#f9f9f9&quot;)
          self.deine_ant.configure(activeforeground=&quot;black&quot;)
          self.deine_ant.configure(anchor='w')
          self.deine_ant.configure(background=&quot;#d9d9d9&quot;)
          self.deine_ant.configure(compound='left')
          self.deine_ant.configure(disabledforeground=&quot;#a3a3a3&quot;)
          self.deine_ant.configure(font=&quot;-family {Segoe UI} -size 9 -weight bold&quot;)
          self.deine_ant.configure(foreground=&quot;#000000&quot;)
          self.deine_ant.configure(highlightbackground=&quot;#d9d9d9&quot;)
          self.deine_ant.configure(highlightcolor=&quot;black&quot;)
          self.deine_ant.configure(text='''''')
  
          self.xy = tk.Label(self.Frame1)
          self.xy.place(relx=0.034, rely=0.052, height=41, width=154)
          self.xy.configure(activebackground=&quot;#f9f9f9&quot;)
          self.xy.configure(activeforeground=&quot;black&quot;)
          self.xy.configure(anchor='w')
          self.xy.configure(background=&quot;#d9d9d9&quot;)
          self.xy.configure(compound='left')
          self.xy.configure(disabledforeground=&quot;#a3a3a3&quot;)
          self.xy.configure(font=&quot;-family {Segoe UI} -size 21 -weight bold&quot;)
          self.xy.configure(foreground=&quot;#000000&quot;)
          self.xy.configure(highlightbackground=&quot;#d9d9d9&quot;)
          self.xy.configure(highlightcolor=&quot;black&quot;)
          self.xy.configure(text='''x * y =''')
  
          self.antwort = tk.Entry(self.Frame1)
          self.antwort.place(relx=0.308, rely=0.052, height=50, relwidth=0.297)
          self.antwort.configure(background=&quot;white&quot;)
          self.antwort.configure(disabledforeground=&quot;#a3a3a3&quot;)
          self.antwort.configure(font=&quot;-family {Segoe UI} -size 21 -weight bold&quot;)
          self.antwort.configure(foreground=&quot;#000000&quot;)
          self.antwort.configure(highlightbackground=&quot;#d9d9d9&quot;)
          self.antwort.configure(highlightcolor=&quot;black&quot;)
          self.antwort.configure(insertbackground=&quot;black&quot;)
          self.antwort.configure(selectbackground=&quot;blue&quot;)
          self.antwort.configure(selectforeground=&quot;white&quot;)
  
          self.start_stop = tk.Button(self.Frame1)
          self.start_stop.place(relx=0.393, rely=0.26, height=44, width=197)
          self.start_stop.configure(activebackground=&quot;#ececec&quot;)
          self.start_stop.configure(activeforeground=&quot;#000000&quot;)
          self.start_stop.configure(background=&quot;#fc6d71&quot;)
          self.start_stop.configure(command=gui2temp3_support.speichern)
          self.start_stop.configure(compound='left')
          self.start_stop.configure(disabledforeground=&quot;#a3a3a3&quot;)
          self.start_stop.configure(font=&quot;-family {Segoe UI} -size 9 -weight bold&quot;)
          self.start_stop.configure(foreground=&quot;#ffffff&quot;)
          self.start_stop.configure(highlightbackground=&quot;#d9d9d9&quot;)
          self.start_stop.configure(highlightcolor=&quot;black&quot;)
          self.start_stop.configure(pady=&quot;0&quot;)
          self.start_stop.configure(text='''Start''')
          self.start_stop.bind('&lt;Button-1&gt;',lambda e:gui2temp3_support.start_stop(e))
  
          self.progress = ttk.Progressbar(self.Frame1)
          self.progress.place(relx=0.786, rely=0.052, relwidth=0.188, relheight=0.0
                  , height=22)
          self.progress.configure(length=&quot;110&quot;)
  
          self.quit = tk.Button(self.Frame1)
          self.quit.place(relx=0.752, rely=0.26, height=44, width=117)
          self.quit.configure(activebackground=&quot;#ececec&quot;)
          self.quit.configure(activeforeground=&quot;#000000&quot;)
          self.quit.configure(background=&quot;#c10438&quot;)
          #self.quit.configure(command=gui2temp3_support.speichern)
          self.quit.configure(compound='left')
          self.quit.configure(disabledforeground=&quot;#a3a3a3&quot;)
          self.quit.configure(font=&quot;-family {Segoe UI} -size 9 -weight bold&quot;)
          self.quit.configure(foreground=&quot;#ffffff&quot;)
          self.quit.configure(highlightbackground=&quot;#d9d9d9&quot;)
          self.quit.configure(highlightcolor=&quot;black&quot;)
          self.quit.configure(pady=&quot;0&quot;)
          self.quit.configure(text='''Verlassen''')
          self.quit.bind('&lt;Button-1&gt;',lambda e:gui2temp3_support.quit(e))
  
  
  def start_up():
      gui2temp3_support.main()
  
  if __name__ == '__main__':
      gui2temp3_support.main()
  
  
  </code></pre>
  <p>Support Module:</p>
  <pre><code>import sys
  import tkinter as tk
  import tkinter.ttk as ttk
  from tkinter.constants import *
  import time
  import gui2temp3
  from random import randint, choice
  
  hex = [&quot;1&quot;,&quot;2&quot;,&quot;3&quot;,&quot;4&quot;,&quot;5&quot;,&quot;6&quot;,&quot;7&quot;,&quot;8&quot;,&quot;9&quot;,&quot;0&quot;,&quot;A&quot;,&quot;B&quot;,&quot;C&quot;,&quot;D&quot;,&quot;E&quot;,&quot;F&quot;]
  nachrichtenfalsch = ['HAHAHA! DU VERLIERER! DEINE ANTWORT WAR KOMPLETT FALSCH HAHAHAA!', 'LOSER!!!', '0 IQ LOL', 'VERKACKT!', 'FALSCHE ANTWORT HAHAHHAA', '-99999999999999 SOCIAL CREDIT', 'MATHE GEHT BEI DIR WOHL NICHT, NE?', 'Deine Antwort war nicht richtig. Aber du musst jetzt nicht traurig sein, denn so etwas kann jedem mal passieren. Du bist immer noch so besonders fuer uns wie du es immer gewesen bist! Komm schon, vergiss den Zwischenfall und geb nicht auf!', '1x1 Zertifikat entzogen', 'NOOOOOOOB!', 'Du kannst besser fliegen als Matheaufgaben zu beantworten.', 'Mathematik scheint dir wohl nicht so zu liegen, LOL', 'Du kleiner Discord Mod, kannst noch nicht mal Matheaufgaben richtig beantworten.', 'Du dummer FETTSACK HAHAHA', 'INKORREKTE EINGABE HAHAHAA', 'irrefuehrende Rueckaeusserung einer primitiven Lebensform.', 'Du hast die Frage komplett Falsch beantwortet. Deswegen nehme ich dir jetzt einen Keks weg. HAHAHAHA']
  nachrichtengut = ['Verdammt richtig man!', 'So was von korrekt!', 'Weiter so!', 'Deine Antwort war richtig!', 'SUPER!!!', 'Deine Antwort war richtig! Als Belohnung bekommst du einen Keks :)', 'DU BIST EIN GENIE!!', '101% Korrekt!', 'Richtig wie ein Glas mit Nutella!', 'Sie werden es noch einmal ganz weit bringen!', 'Als ich so alt war wie du haette ich das nie gekonnt!', 'Du kleines Wunderkind!']
  death = 3
  gestartet = False
  time_start = time.time()
  time1 = &quot;&quot;
  correct_answer = &quot;&quot;
  xmin = 2
  xmax = 11
  ymin = 1
  ymax = 15
  temp_start = None
  c_answers = 0
  w_answers = 0
  s_answers = 0
  score = 0
  temp_score = 1
  multiplier = 1
  totaltime = 0
  timestart = 0
  timeend = 0
  time_stop = 0
  temp_end = None
  fulltime = 0
  temp_answers = 1
  averangetime = 0
  lowest_time = 0
  worst_time = 0
  time_wasted_total = 0
  user_answer = &quot;&quot;
  
  def main(*args):
      '''Main entry point for the application.'''
      global root
      root = tk.Tk()
      root.protocol( 'WM_DELETE_WINDOW' , root.destroy)
      # Creates a toplevel widget.
      global _top2, _w2
      _top2 = root
      _w2 = gui2temp3.spiel(_top2)
      root.mainloop()
  
  def confirm(*args):
      global user_answer
      if gestartet is True:
          user_answer = _w2.antwort.get()
          _w2.nachricht.configure(foreground=&quot;#000000&quot;)
          _w2.antwort.delete(0, END)
  
          if str.isdecimal(user_answer) is False or user_answer == &quot;&quot;:
              _w2.nachricht.configure(foreground=&quot;#FF0000&quot;)
              _w2.nachricht.configure(text=&quot;DU BIST EIN IDIOT!!! GIB ZAHLEN EIN, OK?!?!?&quot;)
          elif int(user_answer) == correct_answer:
              c_response()
              update()
  
          else:
              w_response()
      else:
          _w2.nachricht.configure(foreground=&quot;#FF0000&quot;)
          _w2.nachricht.configure(text=&quot;DU BIST EIN IDIOT!!! DAS PROGRAMM IS NOCH NICHTMAL GESTARTET!!&quot;)
  
  
  def c_response():
      global totaltime, temp_score, lowest_time, worst_time, c_answers, temp_answers, score, multiplier, temp_end
      _w2.deine_ant.configure(text=&quot;&quot;)
      _w2.richtige_ant.configure(text=&quot;&quot;)
      _w2.nachricht.configure(text=choice(nachrichtengut))
      temp_end = time.time()
      c_answers += 1
      temp_answers += 1
      multiplier = 0.9 + (0.1 * temp_answers)
      totaltime = temp_end - temp_start
      temp_score = round(multiplier / totaltime * 1000, 1)
      score += temp_score
      _w2.temp_score.configure(text=f&quot;Punkte: +{temp_score}&quot;)
      _w2.score.configure(text=f&quot;Score: {score}&quot;)
      _w2.zeit.configure(text=f&quot;Zeit benötigt: {round(totaltime,2)} Sekunden&quot;)
      _w2.multiplier.configure(text=f&quot;Multiplier: {multiplier}&quot;)
      _w2.progress['value'] += 10
      if totaltime &lt;= lowest_time:
          lowest_time = totaltime
          _w2.nachricht.configure(text=f&quot;{choice(nachrichtengut)} (BESTZEIT!!)&quot;)
      elif lowest_time == 0:
          lowest_time = totaltime
  
      if totaltime &gt;= worst_time:
          worst_time = totaltime
      if _w2.progress['value'] &gt;= 100:
          start_stop()
  
  def w_response():
      global totaltime, temp_score, time_wasted_total, w_answers, multiplier, temp_answers, user_answer
      w_answers += 1
      temp_end = time.time()
      totaltime = temp_end - temp_start
  
      temp_answers = 1
      multiplier = 0.9 + (0.1 * temp_answers)
      temp_score -= round(1000 * w_answers, 1)
      _w2.nachricht.configure(text=choice(nachrichtenfalsch))
      _w2.temp_score.configure(text=f&quot;Punkte: {temp_score}&quot;)
      _w2.score.configure(text=f&quot;Score: {score}&quot;)
      _w2.zeit.configure(text=f&quot;Zeit verschwendet: {round(totaltime,2)} Sekunden&quot;)
      _w2.multiplier.configure(text=f&quot;Multiplier: {multiplier}&quot;)
      _w2.richtige_ant.configure(text=f&quot;Richtige Antwort: {correct_answer}&quot;)
      _w2.deine_ant.configure(text=f&quot;Deine dumme Antwort: {user_answer}&quot;)
  
      temp_score = 0
  def quit(*args):
      root.destroy()
  
  def speichern(*args):
      return
  
  def spiel(*args):
      print('gui2temp3_support.spiel')
      for arg in args:
          print ('another arg:', arg)
      sys.stdout.flush()
  def update():
      global temp_start, correct_answer
      temp_start = time.time()
      x = randint(int(xmin), int(xmax))
      y = randint(int(ymin), int(ymax))
      _w2.xy.configure(text=f'''{x} * {y} =''')
      correct_answer = x * y
  def start_stop(*args):
      global gestartet, correct_answer, temp_start, temp_end, time_stop
      if gestartet is False:
          _w2.start_stop.configure(text='''Stop''')
          _w2.start_stop.configure(background=&quot;#ffffff&quot;)
          _w2.start_stop.configure(foreground=&quot;#fc6d71&quot;)
          gestartet = True
          temp_start = time.time()
          update()
  
      elif gestartet is True:
          _w2.start_stop.configure(text='''Start''')
          _w2.start_stop.configure(background=&quot;#fc6d71&quot;)
          _w2.start_stop.configure(foreground=&quot;#ffffff&quot;)
          time_stop = time.time()
          gestartet = False
          zeit_antwort = time_stop - time_start
          _w2.xy.configure(text=f'''x * y =''')
          _w2.zeit.configure(text=f'''Zeit Gesamt: {round(zeit_antwort, 2)} Sekunden''')
          temp_start = 0
          temp_end = 0
          _w2.progress['value'] = 0
      elif _w2.progress['value'] &gt;= 100:
          _w2.start_stop.configure(text='''Neustarten''')
          _w2.start_stop.configure(background=&quot;#fc6d71&quot;)
          _w2.start_stop.configure(foreground=&quot;#ffffff&quot;)
          time_stop = time.time()
          gestartet = False
          end_config()
  
  def end_config():
          global time_start, time_stop
          zeit_antwort = time_stop - time_start
          _w2.xy.configure(text=f'''x * y =''')
          _w2.zeit.configure(text=f'''Zeit Gesamt: {round(zeit_antwort, 2)} Sekunden''')
          _w2.richtige_ant.configure(text=f&quot;Richtige Antworten: {c_answers}&quot;)
          _w2.deine_ant.configure(text=f&quot;Falsche Antworten: {w_answers}&quot;)
  
          _w2.multiplier.configure(text=f&quot;Durchschnittszeit pro richtige Antwort: {round(zeit_antwort / c_answers, 2)}&quot;)
  
  
  if __name__ == '__main__':
      gui2temp3.start_up()
  
  
  
  
  </code></pre>