What is the difference between importing a module with
import nombremodulo and
from nombremodulo import * ?
Following several books I have noticed that there are modules that import them in the first way, such as the module
os , but not other modules, such as
datetime . I have tried to import
datetime of the first form and it does not let me access the functions / methods of this module. For this I must import it in the second way.