<

Python Programming: Modules

Posted on
6,580 Points
180 Views
4 Endorsements
Last Modified:
Published
Experience Level: Beginner
3:45
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)

4
Author:Dototot
0 Comments
In this article, we will discuss how to start development in Angular 6.
An EE member wants to move all open windows at once (not one window at a time) from a primary monitor to a secondary one by pressing a hotkey. Bonus: another hotkey that goes in the other direction — move all windows from the secondary to the primar…

Keep in touch with Experts Exchange

Tech news and trends delivered to your inbox every month