Aug-31-2023, 06:39 PM
The first positional argument for PhotoImage() is name, a string that is used to tag the image. If you don't provide a name, one is generated for you, like "pyimage1". file is a named argument. Your code was creating empty images named "./withdraw.jpg" and "./deposit.jpg".