0

Help me pleasešŸ˜­šŸ˜­šŸ˜­

When opening this program, a white field flashes to me, the pictures are not displayed. How to make a picture appear? from tkinter import * import random window = Tk() canvas = Canvas(window, width=1000, height=600) canvas.pack() background = PhotoImage(file = r"/storage/emulated/0/Download/VK/Š—Š°Š½ŃŃ‚ŠøŠµ 4/Š”Š¾Šæ. Š¼Š°Ń‚ŠµŃ€ŠøŠ°Š»Ń‹/bg_2.png") window.mainloop()

27th Jan 2023, 4:50 PM
python
3 Answers
0
And how to change the size of the photo?
27th Jan 2023, 6:02 PM
python
27th Jan 2023, 6:30 PM
Ion Kare
Ion Kare - avatar