from X import * imports all elements from the module X into the current namespace.
import X imports X but doesn't "merge" the namespaces. E.g.:
Module X:
def foo(): pass
BAR = 12
Your code:
from X import *
foo() # calls X.foo
print BAR # prints 12
Or:
import X
X.foo()
print X.BAR