bacon/resource.py
def get_resource_path(filename):
    '''Get a path to the given filename to load as a resource.  All non-absolute filenames passed to
    :class:`Image`, :class:`Font`, :class:`Sound`, etc are transformed through this function.

    :param str filename: a relative path to a resource file
    :return str: an absolute path to the file
    '''
    path = os.path.join(resource_dir, filename)
    if _dll_dir and not os.path.exists(path):
        path = os.path.join(_dll_dir, filename)
    return path
def get_resource_path(filename):
    '''Get a path to the given filename to load as a resource.  All non-absolute filenames passed to
    :class:`Image`, :class:`Font`, :class:`Sound`, etc are transformed through this function.

    :param str filename: a relative path to a resource file
    :return str: an absolute path to the file
    '''
    path = os.path.join(resource_dir, filename)
    if _dll_dir and not os.path.exists(path):
        path = os.path.join(_dll_dir, filename)
    return path
Get a path to the given filename to load as a resource.  All non-absolute filenames passed to
    :class:`Image`, :class:`Font`, :class:`Sound`, etc are transformed through this function.

    :param str filename: a relative path to a resource file
    :return str: an absolute path to the file