Are these statements equivalent?:
from math import *
import math means that you have to put the
math (name of the module) before everything you use from it, e.g.
from math import *, Python is loading all functions and variables from
math (or those specified in
__all__ to be exact) into you local namespace and you can use them without module name prefix:
Hope this helps!