Real Python
  • Start Here
  • Learn Python
    Start Learning
    Your Learning Plan →Your personalized Python learning plan Python Tutorials →In-depth articles and video courses Learning Paths →Guided study plans for accelerated learning
    Practice
    Quizzes & Exercises →Check your learning progress Browse Topics →Focus on a specific area or skill level Reference →Concise definitions for common Python terms
    Get Help
    Code Mentor →BetaPersonalized code assistance & learning tools Office Hours →Live Q&A calls with Python experts Community Chat →Learn with other Pythonistas
    Go Deeper
    Live Courses →Live, instructor-led Python courses Books →Round out your knowledge and learn offline Podcast →Hear what’s new in the world of Python
    Unlock All Content and Become a Python Expert →Get unlimited access to all Real Python has to offer
    Unlock All Content →Become a Python Expert
  • More
    Learner Stories Python Newsletter Python Job Board Meet the Team Become a Contributor
  • Search
/
  • Join
  • Sign‑In

Python Basics: Modules and Packages (Quiz)

Philipp Acsany
Python Basics: Modules and Packages Philipp Acsany 05:30
Course Slides (.pdf) Sample Code (.zip) Ask a Question
  • Contents
  • Discussion

Loading Quiz...

Become a Member to join the conversation.

Course Contents

Overview
93%
  • Python Basics: Modules and Packages (Overview) 01:44
    Working With Modules 00:27
    Creating Modules 01:55
  • Calling an Imported Object 01:45
    Understanding Namespaces 00:27
    Accessing Objects From Inside a Module 01:02
    Using Dot Notation for Imported Objects 00:54
    Adding Objects to a Namespace 01:29
    Breaking a Program Into Modules 00:45
    Exercise: Import and Use a Module 08:00
    Exercise: Fix a Broken Import 08:00
  • Renaming an Imported Module 02:42
    Importing Objects From a Module 03:20
    Summarizing Import Statements 03:18
    Exercise: Import Specific Functions 08:00
    Taking Advantage of Namespaces 01:04
  • Introducing Packages 01:16
    Creating Packages 03:21
    Working With Packages 04:16
    Summarizing Import Statements for Packages 01:40
    Importing Modules From Subpackages 03:57
    Exercise: Import From a Package 08:00
  • Python Basics: Modules and Packages (Exercises) 02:55
    Python Basics: Modules and Packages (Quiz) 05:30
    Python Basics: Modules and Packages (Summary) 01:37

© 2012–2026 Real Python ⋅ Privacy Policy