def python_type(arg):

    if isinstance(arg, Parameter):
        arg = arg.type

    if isinstance(arg, type):
        return arg
    else:
        return type(arg)
Creates a PyQt non-modal "live update" window user interface
dataset/ETHPy150Open fp7-ofelia/ocf/ofam/src/src/foam/sfa/util/parameter.py/python_type--crossover with--dataset/ETHPy150Open enthought/traitsui/traitsui/qt4/toolkit.py/GUIToolkit.ui_live