method1\ import module_name1,module_name2
way to use function in it: module_name1.function_name()
method2\ from import module
from module_name import *
way to use the function in it: no need to write down the name of module. e.g: randint()
auLeon 2017-08-10 16:32 原文
method1\ import module_name1,module_name2
way to use function in it: module_name1.function_name()
method2\ from import module
from module_name import *
way to use the function in it: no need to write down the name of module. e.g: randint()