Hi there,
I am trying to change my windows 11 background wallpaper using the simplest way, so I just found py-wallpaper library where I can:
from wallpaper import set_wallpaper, get_wallpaper
# getting the current wallpaper
print(get_wallpaper())
# setting a new wallpaper
set_wallpaper("FULL_IMG_PATH")
But even if I use one of them I just get this error:
>>> wallpaper.set_wallpaper(r"C:\Users\Khaled\Downloads\Screenshot 2022-08-13 190317.png")
'C:\Users\Khaled\AppData\Local\Programs\Python\Python310\Lib\site-packages\wallpaper\win-wallpaper.exe' is not recognized as an internal or external command,
operable program or batch file.
[]
Note: I do not want to use ctypes