title: Python 3 - Tcl/Tk how to get filename from filedialog and change label
body: <p>I am trying to select a file and have the label show its name.     </p>
  
  <pre><code>def onOpen():
      photo_label = filedialog.askopenfilename()
      pass
  
  
  #photo code
  photo = PhotoImage(file="smile.png")
  photo_label = Button(image=photo, command=onOpen).grid()
  #I am attempting to change text=photo_label to reflect the file name
  text = Label(text=photo_label) # included to show background color
  text.grid()
  </code></pre>