title: tkinter - How to clear a label when button is clicked for second time?
body: <p>I am trying to clear the output on the screen when someone clicks the button again.</p>
  
  <pre><code>def eval_click():
      if entry_buysell.get().lower() == 'b':
          stoploss = (float(entry_price.get()) - float(entry_stop_loss.get()))
          take_profit = (float(entry_profit.get()) - float(entry_price.get()))
          ratio = take_profit/stoploss
          if ratio &gt; 2.5:
              output = Label(reasons_window,text="TRADE, risk seems ok.")
              output.grid(row=1, column=2)
          else:
              output = Label(reasons_window,text="DON'T TRADE")
              output.grid(row=1, column=2)
  </code></pre>
  
  <p>I have tried to use <code>output.destroy()</code> which basically destroys the text as soon as it gets made. </p>
  
  <p>I am not sure what the correct procedure is for this. The user might make changes to the input fields and the output switches but it gets overwritten on the last message.</p>