Real Python
  • Start Here
  • Learn Python
    Python Tutorials →
    In-depth articles and video courses
    Learning Paths →
    Guided study plans for accelerated learning
    Quizzes & Exercises →
    Check your learning progress
    Browse Topics →
    Focus on a specific area or skill level
    Community Chat →
    Learn with other Pythonistas
    Office Hours →
    Live Q&A calls with Python experts
    Podcast →
    Hear what’s new in the world of Python
    Books →
    Round out your knowledge and learn offline
    Reference →
    Concise definitions for common Python terms
    Code Mentor →Beta
    Personalized code assistance & learning tools
    Unlock All Content →
  • More
    Learner Stories Python Newsletter Python Job Board Meet the Team Become a Tutorial Writer Become a Video Instructor
  • 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

Become a Member to join the conversation.

Course Contents

Overview
93%
  • Separating Your Code Into Modules
  • Python Basics: Modules and Packages (Overview) 01:44
  • Working With Modules 00:27
  • Creating Modules 01:55
  • Importing Modules
  • 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
  • Adjusting Import Statements
  • Renaming an Imported Module 02:42
  • Importing Objects From a Module 03:20
  • Summarizing Import Statements 03:18
  • Taking Advantage of Namespaces 01:04
  • Building Packages From Your Modules
  • 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
  • Reviewing What You've Learned
  • 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–2025 Real Python ⋅ Privacy Policy