 Hi again, in this lesson we're going to talk about that how to check if a file exists using Python programming language. If we want to check if a file exists using Python programming language, we need to import OS module and to call path from this module, which will give us additional methods to work with paths. Okay, now if we want to see if some file exists, we'll use paths method is file and we will provide inside parentheses as an argument, our path and this function will test whether a path is a regular file. Okay, let's say for example that our path is C, I can cheat a little bit. I will use Python 2.7 folder and I will use readme.txt file, so this file obviously exists into my computer and I want to check is this file exists in my computer, so obviously it exists, let's try to use this method and we'll get true, but now I want to use this same method of path and OS module, but with changing few letters, for example readme.txt, this file obviously it doesn't exist and we will get false return value which will say to us that this file does not exist on our operating system. That's all in this video, thanks for watching, see you in some next video, bye bye.