Is Python a directory?

Trường Phan

New member
Is Python a directory?
Answer
path. isdir() method in Python is used to check whether the specified path is an existing directory or not. This method follows symbolic link, that means if the specified path is a symbolic link pointing to a directory then the method will return True.
 

Tìm kiếm

Back
Top