Is Python a DIR OS?

Khánh Đoan

New member
Is Python a DIR OS?
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