How to import a module in Python

Опубликовано: 09 Октябрь 2024
на канале: Python Morsels
3,989
27

When you import a module in Python, you'll get access to a module object with attributes representing each of the variables in that module. Python comes bundled with a bunch of modules.

Read an article version of this video at https://pym.dev/importing-module/

Find more Python screencasts at https://pym.dev/screencasts/

00:00 Importing a module
00:41 Module object
01:07 Importing specific module elements
01:42 Use import statements to import a Python modules

#python