Assuming that you are using tkinter (which you omitted to mention), then you need the following:
import tkinter as tk
root = tk.Tk()
You will most likely need to use the
tk.
prefix on all your controls also, as shown below:
import tkinter as tk
def show():
myLabel = tk.Label(root, text = clicked.get()).pack()
root = tk.Tk()
clicked = tk.StringVar()
BNdrop = tk.OptionMenu(root, clicked, "abc", "xyz")
BNdrop.pack()
MyButton = tk.Button(root, text = "Show Selection", command = show).pack()
root.mainloop()