Answers for "change background image python"

3

py change background

import ctypes
ctypes.windll.user32.SystemParametersInfoW(20, 0, "absolute path" , 0)
Posted by: Guest on December-30-2020
2

background image in python

om tkinter import *
from PIL import ImageTk

canvas = Canvas(width=600, height=800, bg='blue')
canvas.pack(expand=YES, fill=BOTH)

image = ImageTk.PhotoImage(file="File route")
canvas.create_image(10, 10, image=image, anchor=NW)

mainloop()
Posted by: Guest on July-06-2020

Code answers related to "change background image python"

Python Answers by Framework

Browse Popular Code Answers by Language