<

Python Programming: Modules

Posted on
6,582 Points
182 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.
As an IT professional, you may already appreciate the difficulty of staying relevant in an ever-changing sector. New technologies and advanced ways of doing things are trends that will not slow down in the future — in fact, they may speed up.

Keep in touch with Experts Exchange

Tech news and trends delivered to your inbox every month