Import vs universal import


#1

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?


#2

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