get_file method

get_file

Returns the stream to read from.

Returns

The named stream.

def get_file(self, file_name):
    ...
ParameterTypeDescription
file_namestrThe file name.

get_file

Returns the stream to read from.

Returns

The named stream.

def get_file(self, file_name, search_subdirectories):
    ...
ParameterTypeDescription
file_namestrThe file name.
search_subdirectoriesboolIndicates whether to look for a file in subdirectories.

See Also