This lesson explains what imports are and goes on to cover the different ways of importing Python modules. You’ll also learn the following from the lesson:
- How to use the
dir()function to inspect imported modules
- How imports affect scope
- How to import multiple classes or functions from a package
- Recommendations on the best way to import packages
Become a Member to join the conversation.