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