def testdata_stream(name): return resource_stream(__name__, 'data/' + name, __file__)
def data_stream(name): """Provide an open file handle to the specified resource.""" fn = _resource_filenames[name] return resource_stream(__name__, fn, __file__)
def data_stream( name ): """Provide an open file handle to the specified resource.""" fn = _resource_filenames[name] return resource_stream(__name__, fn , __file__)
def testdata_stream( name ): return resource_stream(__name__, 'data/'+name, __file__)