Sample; the second abspath is missing *,, the second basename appears identical.
def abspath(
path, *, start: bytes | str | None = None, library: bpy.types.Library | None = None
) -> str:
"""Returns the absolute path relative to the current blend file
using the "//" prefix.
:param start: Relative to this path,
when not set the current filename is used.
:type start: bytes | str | None
:param library: The library this path is from. This is only included for
convenience, when the library is not None its path replaces start.
:type library: bpy.types.Library | None
:return: The absolute path.
:rtype: str
"""
...
def abspath(
path, start: bytes | str | None = None, library: bpy.types.Library | None = None
) -> str:
"""Returns the absolute path relative to the current blend file
using the "//" prefix.
:param start: Relative to this path,
when not set the current filename is used.
:type start: bytes | str | None
:param library: The library this path is from. This is only included for
convenience, when the library is not None its path replaces start.
:type library: bpy.types.Library | None
:return: The absolute path.
:rtype: str
"""
...
def basename(path) -> str:
"""Equivalent to os.path.basename, but skips a "//" prefix.Use for Windows compatibility.
:return: The base name of the given path.
:rtype: str
"""
...
def basename(path) -> str:
"""Equivalent to os.path.basename, but skips a "//" prefix.Use for Windows compatibility.
:return: The base name of the given path.
:rtype: str
"""
...
Sample; the second
abspath
is missing*,
, the secondbasename
appears identical.