首页 › 答案 › 题库 › 远程教育 › 联大学堂

在Python中导入模块中的对象有哪几种方式?

在Python中导入模块中的对象有哪几种方式?
正确答案:1)import模块名[as别名];2)from模块名import对象名[as别名];3)frommathimport*