> That's OK, but you may find fiddling with sys.path is more productive :-)
Yeah, that's what I'm doing and it works just fine. When I stumbled over this behavior yesterday it seemed (and still does) like a low-priority bug in reload. I was hoping a guru would reply with something like, "Of course that's how it is. If reload() tried to use the __file__ attribute, a universe-ending paradox would ensue because..." Feh. -- http://mail.python.org/mailman/listinfo/python-list