bundles / numpy 2.4.3 / numpy / lib / _datasource / Repository / abspath
function
numpy.lib._datasource:Repository.abspath
source: /numpy/lib/_datasource.py :593
Signature
def abspath ( self , path ) Summary
Return absolute path of file in the Repository directory.
Extended Summary
If path is an URL, then abspath will return either the location the file exists locally or the location it would exist when opened using the open method.
Parameters
path: str or pathlib.PathCan be a local file or a remote URL. This may, but does not have to, include the
baseurlwith which the Repository was initialized.
Returns
out: strComplete path, including the DataSource destination directory.
Aliases
-
numpy.lib._datasource.Repository.abspath