Python Programming: Modules

Posted on
6,584 Points
4 Endorsements
Last Modified:
Experience Level: Beginner
Learn the basics of modules and packages in Python.

Video Steps

1. Every Python file is a module, ending in the suffix: .py

2. Modules are a collection of functions and variables.

3. Packages are a collection of modules.

4. Module functions and variables are accessed using the import statement; for example: import math.

5. Specific functions and variables may be imported using the from statement; for example: from math import pi.

6. The help() function displays all of the available functions and variables in a module; for example: help(math)

In this article we will see what is logical operator and how we use them in Python programming.
Many programming languages have a Switch–Case capability. Since its first beta in 2003, AutoHotkey has not had one. Finally, in the recent 28-Sep-2019 release of Version, it now has Switch–Case. This article discusses it and shows a sample…

Keep in touch with Experts Exchange

Tech news and trends delivered to your inbox every month