method
DataSource.
open
Open and return file-like object.
If path is an URL, it will be downloaded, stored in the DataSource directory and opened from there.
path
DataSource
Local file path or URL to open.
Mode to open path. Mode ‘r’ for reading, ‘w’ for writing, ‘a’ to append. Available modes depend on the type of object specified by path. Default is ‘r’.
Open text file with given encoding. The default encoding will be what io.open uses.
io.open
Newline to use when reading text file.
File object.