title: How to make tkinter drop down to save data in python 3?
body: <p>How to make tkinter drop down to save data in python?
  I want it to save data to variable 'sv' in the code.</p>
  
  <p>Here is the code I'm using:</p>
  
  <pre><code>import tkinter as tk
  
  servs = ['Gmail', 'Yahoo', 'Comcast', 'Verizon', 'AT&amp;T', 'Outlook']
  sv = tk.StringVar()
  drop = tk.OptionMenu(root, sv,*servs)
  drop.grid(row=2, column=1)
  </code></pre>