import

Python Import 详解

1.

2.使用别名导入模块 

可以使用 as 关键字来改变模块的引用对象名字

import report as wr

3.导入模块的一部分 

from report import get_description

4.模块搜索路径

 

原文地址:https://www.cnblogs.com/jzm17173/p/5007316.html