Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

pathlib is symbolic link

from pathlib import Path


# rpd is a symbolic link
>>> Path('rdp').is_symlink()
True
>>> Path('README').is_symlink()
False
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #pathlib #symbolic #link
ADD COMMENT
Topic
Name
2+8 =