The concept of absolute and relative imports was introduced in PEP 328 to differentiate from which package a module should be imported. An absolute import searches the module in your top-level package or project. A relative import searches the module from the folder where the current Python file executing the import statement resides.