How to import other module in Python?

Question

How to import other module in Python?

Re: How to import other module in Python?

To import all the variables, functions and classes from other module use the import operator
import modulename