Tagged: isfile


Python os.path Library and Using exist, isdir, isfile Examples

Python provides os.path module in order to use some file and directory related functions. We can use os.pathin order to check whether a file or directory exists, given path is file or directory, the access time of the directory and path etc. Import os.path Before starting examples we need to...

Enjoy this blog? Please spread the word :)