题目内容

在Python中,安装一个模块的指令是:

A. pip install …
B. import install …
C. python install …
D. from Internet install …

查看答案
更多问题

在Python中,导入模块时的方法有哪些?

A. import
B. from … import …
C. export
D. extend

在Python中,from是一个合法的变量名。

A. 对
B. 错

在Python中,可以将 as 设置为变量名。

A. 对
B. 错

在Python中,只要模块名没有写错,通过import一定可以导入这个模块。

A. 对
B. 错

答案查题题库