DataSource.open()

numpy.DataSource.open

DataSource.open(path, mode='r') [source]

Open and return file-like object.

If path is an URL, it will be downloaded, stored in the DataSource directory and opened from there.

Parameters:

path : str

Local file path or URL to open.

mode :