Path
Category: Resources
Base class: _BlipValue
Properties
directory : str (Read-Only)
drive : str (Read-Only)
extension : str (Read-Only)
filename : str (Read-Only)
filenameAndExtension : str (Read-Only)
isInCommon : bool (Read-Only)
isInInternal : bool (Read-Only)
isInObjects : bool (Read-Only)
isInTrash : bool (Read-Only)
lastDirectory : str (Read-Only)
rawFilename : str (Read-Only)
shortened : str (Read-Only)
Constructors
__init__(self)
__init__(self, other: Path)
__init__(self, s: str)
Methods
createFolder(self)
replaceFilename(self, filename: str) -> Path
to_string_view(self) -> string_view
Static Methods
pathsToFilenames(paths: List[Path]) -> List[Path]
Extract filename for every Path in specified list.
Parameters:
- paths A list of absolute or relative file paths.
Returns A list of filenames (including file extension).