1.9 Importing Modules

Syntax Usage Comment
import math math.sqrt(5) Recommended
import math as haha haha.sqrt(5) Recommended
from math import sqrt sqrt(5) Not recommended. Issues of scope.
from math import sqrt as woowoo woowoo(5) Confusing (and silly)
from math import * sqrt(5) Not recommended. Issues of scope.