__import__ with a directory name to use to root import
Project description
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.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
import_relative-0.1.0.zip
(11.0 kB
view hashes)