I'm practicing reading a book, but it doesn't show up, so I'm struggling.python
As far as I can see from the image, there seems to be an error in
img=tkinter.PhotoImage(file="image/webpy.jpg") on line 11.
Now refer to the documentation for the
PhotoImage for images in PGM, PPM, GIF and PNG formats. The later is supported starting with Tk 8.6.
Therefore, an error may have occurred because you have specified an image file in JPG format that is not supported.Therefore, instead of JPG images,
You should be able to view it by preparing an image file in one of the formats in and specifying it instead of
353 I want to create an array of sequences from "1" to a specified number.
362 To Limit Column Values to Strings in a String List Using sqlalchemy
351 I have saved several codes written in python to a visual studio file.
374 I want an event to happen when I click on a particular image on tkinter.
© 2023 OneMinuteCode. All rights reserved.