Working with modules and packages in python

Publicado em: 04 Abril 2020
no canal de: coderZworld
67
7

Here we demo how to create python modules and packages using Python.

While developing python application we may have split our code in to multiple files and folders.

A single python file is called as module. A module may contain variables/ functions/ classes.

A folder containing multiple python modules is called as python package. A package contains a python file __init__.py.

If a module need to access a variable / function / class defifed in another module then we have to import that using "import" keyword


Nesta página do site você pode assistir ao vídeo on-line Working with modules and packages in python duração hora minuto segundo em boa qualidade , que foi baixado pelo usuário coderZworld 04 Abril 2020, compartilhe o link com seus amigos e conhecidos, no youtube este vídeo já foi visto 67 vezes e gostou 7 espectadores. Boa visualização!