Update 2012-01-06
Update 2012-01-06: Warning: this post is what you get if you don't know about the function __import__ and try to reinvent it.
Imagine I have two different python files that are drop-in replacements for each other, perhaps for some kind of plugin system:
$ cat a/c.py
def d():
print "hello world a"
$ c...