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
Sur cette page du site, vous pouvez voir la vidéo en ligne python video series for beginners video 9: what are modules packages and libraries in python durée heure minute seconde en bonne qualité , qui a été Téléchargé par l'utilisateur I know python 16 juin 2020, Partagez le lien avec vos amis et connaissances, sur youtube cette vidéo a déjà été regardée 63,804 fois et il a aimé 1.8 mille téléspectateurs. Bon visionnage!