 Hi everyone, in this tutorial I'm gonna be showing you how to get the list of all files and directories in the current working directory or any other directory in Python language. In order to do that, first I need to import the OS module. OS module will help us to work with our operating system. The next thing that we want to do is to list all files and folders of this current working directory. You can see these all files and folders here inside this project folder. So in order to do that we're gonna call listdir method without argument. These parentheses are gonna be empty and this function is from the OS module. With this function we're gonna get the list of all files and directories inside our current working directory. We can save this list in a file, I'm gonna call it for example all files and I'm gonna print it. Let's run this code to check our results. And as you can see this is a list of our files and folders inside our current working directory. But what if I want to list all files and folders from some another path? I can provide that path in this listdir function inside parentheses. For example I want to see all files and folders inside Windows folder on my C drive. Let's run this code and here you can see all files and folders inside this directory. So as you can see this listdir function is very useful, with it you can list all files and directories in a provided path. That's all in this tutorial, don't forget to subscribe to our channel. See you in the next tutorial, happy coding.