Import vs universal import


What is the difference between:

import math

from math import *

Obviously import math is not just importing one thing, so what is it importing? How much of the library is it importing?


The second pollutes your namespace, it gets difficult to tell what's coming from where and some things may overwrite others