Python Modules & Packages | Python for Beginners | Quantra Free Course

preview_player
Показать описание

Timestamp:
00:08 - Concept of modularization
00:15 - Module designing
02:42 - Python library

In this video, we will understand about Python modules and packages. Let us begin by intuitively understanding the concept of modularization and the need for same. Modular designing is an approach in which a complex design is broken down into smaller parts or modules. These components can be independently created and tested. For example, consider a car making company.

A car in itself is a complex product consisting of a car body, the braking system, the engine, the fuel supply system, the suspension and steering system, the transmission system, and others. Usually these parts are designed, developed, and tested independently in different departments of the company. These components are then assembled and dispatched as a whole product the car. This saves time and is cost effective. In a similar fashion, modules and packages make it easier to program complex codes.
Since Python is an open sourced programming language different programmers have contributed useful modules and enriched the language. Any file in Python which has a .py extension can be a module. A module can consist of arbitrary objects, classes, attributes, or functions which can be imported by users.

Next, we will work on the IPython notebook and use some packages. Stay tuned!

Quantra is an online education portal that specializes in Algorithmic and Quantitative trading. Quantra offers various bite-sized, self-paced and interactive courses that are perfect for busy professionals, seeking implementable knowledge in this domain.

Рекомендации по теме