math库
import math
math.sin(1)
math.exp(1)
math.pi
为库起一个别名
import math as m
m.sin(1)
特别指定导入函数的名字
from math import exp as e
e(1)
直接地导入库中的所有函数
from math import *
exp(1)
sin(1)
import math
math.sin(1)
math.exp(1)
math.pi
import math as m
m.sin(1)
from math import exp as e
e(1)
from math import *
exp(1)
sin(1)