### Navigation

- index
- modules |
- modules |
- next |
- previous |
- NumPy v1.7 Manual (DRAFT) »
- NumPy Reference »
- Routines »
- Input and output »
- numpy.DataSource »

# numpy.DataSource.abspath

`DataSource.``abspath`(path)

  Return absolute path of file in the DataSource directory.

  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 Can be a local file or a remote URL.
  Returns : | out : str Complete path, including the `DataSource` destination directory.

  Notes

  The functionality is based on `os.path.abspath`.

### Navigation

- index
- modules |
- modules |
- next |
- previous |
- NumPy v1.7 Manual (DRAFT) »
- NumPy Reference »
- Routines »
- Input and output »
- numpy.DataSource »