Published
- 1 min read
desktop background change with python
The solution for this is noted below
desktop background change with python
Solution
import ctypes
SPI_SETDESKWALLPAPER = 20
ctypes.windll.user32.SystemParametersInfoA(SPI_SETDESKWALLPAPER, 0, "image.jpg" , 0)
Try other methods by searching on the site. That is if this doesn’t work