• Login or register

discuss.effbot.org

  • Popular
  • Recent
  • 0 points by shank_nasa 2 months ago on An Introduction to Tkinter 0 children

    The Photoimage class discusses about inserting a jpg image. In that, there is one line that shows as
    label.image = image # keep a reference!

    This does not work. This line should be changed to
    label.image = photo # keep a reference!

    Kindly check this and change the article if needed. For me, if I place photo in that line, it displayed the image properly.

    Thanks for your work.

    • parent
    • reply
  • Widget
  • Recent Comments
  • Leaders
Powered by