 Hi in this lesson we're going to talk about that how to find all files in directory with PNG extension. If you want you can use some other extension but I will use PNG extension in our example. First what we need to do is to import OS and GLOB modules. OS module will provide to us methods to work with operating system and GLOB module will provide to us methods to work with PAD names. First what we need to do is to change our current working directory. I want to go to the path on the seed drive on a folder called images and I want to find this PNG image and to print the result of our search to the screen. So our current working directory will be seed drive folder images. Also notice that if you are on Linux or Mac OS operating system that paths will be different than on Windows operating system. Next what we want to do is to make an iteration which will go through all our files and when we are passing all our files we want to select just files with extension PNG and we want to print these files. So we'll use a GLOB method and inside as an argument we will put our extension. We want to find all files with extension PNG so we'll use extension PNG and then we will print all our files from our current current directory. Okay and as you can see we will get as a result that file called youtube logo.png is on this directory with this extension and if we are going to check our directory we will see that we are on that same directory and that we have just one PNG file with same name. So that's all in this video. Thanks for watching. Happy coding. See you in some next video. Bye bye.