pathlib.Path.is_char_device()

Path.is_char_device()

Return True if the path points to a character device (or a symbolic link pointing to a character device), False if it points to another kind of file.

False is also returned if the path doesn’t exist or is a broken symlink; other errors (such as permission errors) are propagated.

doc_python
2025-01-10 15:47:30
Comments
Leave a Comment

Please login to continue.