import 导入某个模块的功能(函数),方便该模块的直接调用
import somemodule #导入某个模块
from somemodule import somefunction #导入模块的somefunction方法
from somemodule import function1,function2,... #导入模块的function,function2等方法
from somemodule import * #导入模块的所有方法
as 关键字的用法
import somemodule as moduleA
from somemodule import somefunction as functionA
接下来可以直接调用moduleA、functionA