python video series for beginners video 9: what are modules packages and libraries in python

Published: 16 June 2020
on channel: I know python
63,804
1.8k

In this video we will discuss python modules package and libraries and state the difference between them :

A module is a file containing Python definitions and statements. The file name is the module name with the suffix .py appended. Within a module, the module’s name (as a string) is available as the value of the global variable __name__.
A package is basically a directory with Python files and a file with the name init.py. This means that every directory inside of the Python path, which contains a file named init.py, will be treated as a package by Python. It's possible to put several modules into a Package.
A Python library is a reusable chunk of code that you may want to include in your programs/ projects. Compared to languages like C++ or C, a Python libraries do not pertain to any specific context in Python. Here, a 'library' loosely describes a collection of core modules.


link to python basics playlist :    • Python Basics Series for Beginners  




some terms for keyword:
python basics

what are modules in python
what are packages in python
what are libraries in python
what is the difference between module packages and libraries in python
python for beginners
basics of python


tags : #python_basics #i_know_python


On this page of the site you can watch the video online python video series for beginners video 9: what are modules packages and libraries in python with a duration of hours minute second in good quality, which was uploaded by the user I know python 16 June 2020, share the link with friends and acquaintances, this video has already been watched 63,804 times on youtube and it was liked by 1.8 thousand viewers. Enjoy your viewing!