def read_relative_file(filename):
    with open(join(dirname(abspath(__file__)), filename)) as f:
        return f.read()
Updates the screen.
dataset/ETHPy150Open twidi/django-extended-choices/setup.py/read_relative_file--crossover with--dataset/ETHPy150Open enthought/traitsui/traitsui/qt4/key_binding_editor.py/KeyBindingCtrl.paintEvent