Respuesta :

True, but it won't be in the same namespace. See below:

>>> import time
>>> print time.time()
1510180694.04
>>> quit()

By doing a straight import I have to reference the namespace time and the function time. (Yeh, I should have picked a different example, but I couldn't think of any)

>>> from time import time
>>> time()
1510180718.76834
>>> quit()

By doing the from, I import the time function into the __main__ namespace so I don't need to reference a name space when I call it.



Answer:

True

Explanation:

true, it will bring it in, however, you will have to execute it separately and it will be in a different namespace.