 Hi everyone, in this tutorial I'm gonna be showing you how to change desktop background image in Python using just two or three lines of code. So at the beginning our desktop background looks like this and we're gonna change it to this with just two or three lines of code. First let's import Ctypes module, then let's create a part of our wallpaper. Image that I want to use as the wallpaper is here in this folder. I'm gonna search it, let's find all images in this folder. There is just one such image called car.jpeg. So I'm gonna type this pot to change our wallpaper. I'm gonna use the method system parameters info w. First argument is gonna be number 20, second argument is gonna be zero, the third argument is gonna be this wallpaper pot and the fourth argument is gonna be number three. This system parameter method is from the Ctypes module from Windows DLL user 32. Let's run this code, let's check if our wallpaper is changed and as you can see our wallpaper is changed. You can also do that just with two lines of code by coping this wallpaper pot from here and paste it here and you're gonna get the same results with just two lines of code. That's all in this tutorial, don't forget to subscribe to our channel, see you in the next tutorial, happy coding.