filmov
tv
Python Knowledge Share: Modules, namespaces and imports

Показать описание
A one hour Python Knowledge Share on the topic of Modules, namespaces and imports. Delivered to Gigaclear devs on 16th May, 2024.
Topics covered include:
* Import syntax variations
* namespaces and variable lookups
* Module objects
* Module level functionality: __dir__ and __getattr__
* Packages and the filesystem
* Relative import syntax
* Module reloading (how to do it and why not to do it)
* Circular imports, avoiding and fixing
* Executable modules and packages
* importlib and __import__
Topics covered include:
* Import syntax variations
* namespaces and variable lookups
* Module objects
* Module level functionality: __dir__ and __getattr__
* Packages and the filesystem
* Relative import syntax
* Module reloading (how to do it and why not to do it)
* Circular imports, avoiding and fixing
* Executable modules and packages
* importlib and __import__