DataSource.exists(path)[source]¶Test if path exists.
Test ifpath exists as (and in this order):
DataSource directory.| Parameters: | path : str
|
|---|---|
| Returns: | out : bool
|
Notes
Whenpath is an URL,exists will return True if it’s eitherstored locally in theDataSource directory, or is a valid remoteURL.DataSource does not discriminate between the two, the fileis accessible if it exists in either location.