def NameEx(fromaddr, ea):
    name = idaapi.get_name(fromaddr, ea)

    if not name:
        return ""
    else:
        return name
Get visible name of program byte
dataset/ETHPy150Open EiNSTeiN-/idapython/python/idc.py/NameEx