import X
Creates a label in the local namespace that references the module object.
from X import *
Creates a label for every member attribute of the X module, directly in the local namespace.
Both operations add X to sys.modules, true, but the effect on the local namespace is the difference.