python模块引用

python的import和from…import

import引入模块,用.调用模块的方法,例如:cgi.cslog()
from 模块名 import 模块方法名,可以直接使用方法,cslog()

你可能感兴趣的:(python)