python —__ init__ role

__init__ is for others to import modules

Two ways to reference modules:

 

 Method 1: from method

 

 

 Method 2: The way of tools.

   

 

 

 

Guess you like

Origin www.cnblogs.com/cwl-bj/p/12699561.html