Retrieves a data file from the standard locations and returns its contents as a bytes object.
| Parameters: | data_name : str
encoding : str, optional
cache : bool
|
|---|---|
| Returns: | contents : bytes
|
| Raises: | urllib2.URLError, urllib.error.URLError
IOError
|
See also