skip to navigation
skip to content

import_relative 0.1.0

__import__ with a directory name to use to root import

A reduced Python __import__() function where one must give a directory for which to start searching from.

As per __import__() sans "from lists" which is used here, we always return the top-level import name even when a compound import (e.g. a.b.c) is given.

Sorry, we don't do "from lists", global or local variables here.

 
File Type Py Version Uploaded on Size # downloads
import_relative-0.1.0-py2.5.egg (md5) Python Egg 2.5 2009-03-15 6KB 853
import_relative-0.1.0-py2.6.egg (md5) Python Egg 2.6 2009-03-15 6KB 998
import_relative-0.1.0-py2.7.egg (md5) Python Egg 2.7 2010-10-28 6KB 951
import_relative-0.1.0.zip (md5) Source 2010-10-28 10KB 502