How does an application use a module in Python?

IT Questions BankCategory: DevNetHow does an application use a module in Python?

How does an application use a module in Python?

  • by calling the module name
  • through the include statement
  • by using an assignment statement with a variable
  • through the import statement

Explanation: A module, in Python, is a Python file with packaged functions. When functions contained in a module are needed in an application in Python, the application uses the import statement to include these functions in the application.

Exam with this question: 3.7.2 Module 3: Software Development and Design Quiz

Subscribe
Notify of
guest

0 Comments
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x