python—__init__作用

__init__是为了别人导入模块 用的

引用模块的两种方式:

 

 方式一:from方式

 

 

 方式二:tools.的方式

   

 

 

 

posted @ 2020-04-14 17:43  localhost;  阅读(231)  评论(0编辑  收藏  举报