I have seen examples from stack overflow but I am unable to set background of my windows 10 desktop also when I run that program my background changes to black can anyone tell how to set background using python3.6 or tell me what is the error in my code
import ctypes
SPI_SETDESKWALLPAPER = 20
ctypes.windll.user32.SystemParametersInfoA(SPI_SETDESKWALLPAPER, 0, 'image.jpg', 3)