Working with modules and packages in python

Pubblicato il: 04 aprile 2020
sul canale di: 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


In questa pagina del sito puoi guardare il video online Working with modules and packages in python della durata di ore minuti seconda in buona qualità , che l'utente ha caricato coderZworld 04 aprile 2020, condividi il link con amici e conoscenti, su youtube questo video è già stato visto 67 volte e gli è piaciuto 7 spettatori. Buona visione!