What Kevin said is the best answer. I can't think of a reason not to have your top level package in your path. Otherwise look at imp.find_module and imp.load_module