How To Import Modules - Python Tutorial #11

Опубликовано: 18 Март 2018
на канале: DMK Data
92
1

To import modules we simply need the import keyword followed by the modules name. This gives us access to the module with dot notation. To get to a name within the module we just type module.name

Alternatively we can use from module import names to import names within a module directly to our current namespace. If we don't like the module's name we can use a different name with the 'as' keyword. Easy but essential.

Python:
https://www.python.org/

Python's Builtin Modules:
https://docs.python.org/3/py-modindex...

Outro Song:
Alright by Silent Partner is part of the YouTube Audio Library.


Смотрите видео How To Import Modules - Python Tutorial #11 онлайн без регистрации, длительностью часов минут секунд в хорошем качестве. Это видео добавил пользователь DMK Data 18 Март 2018, не забудьте поделиться им ссылкой с друзьями и знакомыми, на нашем сайте его посмотрели 92 раз и оно понравилось 1 людям.