Blender plugin import python from other file fail I am trying to create a plug-in.
In my __Init__.py I am trying to import code from another file operator_add.py, which is located in the same folder in the same level:

if "bpy" in locals():
    import importlib
    importlib.reload(OBJECT_add)
else:
    from operator_add import OBJECT_add


However this does not work, when I install the plug-in it gives me an error saying the No module named operator_add. Did I miss anything?
importlib.reload only reloads modules, not arbitrary objects.

As BatFinger also suggested, import your module (so import operator_add), and not just one name from it (so not from operator_add import OBJECT_add). You can then reload it with importlib.reload(operator_add).