Absolute vs Relative Imports in Python
Joe Tatusko
16:31
Description
If you’ve worked on a Python project that has more than one file, chances are you’ve had to use an import statement before. Even for Pythonistas with a couple of projects under their belt, imports can be confusing!
If you’re reading this because you’d like to gain a deeper understanding of imports in Python, particularly absolute and relative imports, then you’ve come to the right place! In this tutorial, you’ll learn the differences between the two, as well as their pros and cons.
More details
User Reviews
Rating
Joe Tatusko
Instructor's CoursesHey! I’m Joe Tatusko, an engineer with degrees in Chemistry and Materials Engineering.
My journey with Python began while in the aluminum industry as a means to deal with decades worth of data and automate report generation, but quickly branched as I learned all the things you could do with the langauge.
Current interests include machine learning, web development, and network security.

Real Python
View courses Real Python- language english
- Training sessions 4
- duration 16:31
- Release Date 2023/04/03