# Items in submodules must be accessed explicitly including the full package name: import os as computer print computer.path.abspath(".")