> "Alex Martelli" <[EMAIL PROTECTED]> wrote in message > news:[EMAIL PROTECTED] > > I don't know of any "pretty" way -- I'd do it by path manipulation > > (finding mypackage from os.path.abspath(__file__) and inserting its > > _parent_ directory in sys.path). >
"Alan Isaac" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Yes, that seems to be the standard solution. > I find it ugly. Just to confirm that I am right to find it ugly: does this not clearly introduce the possibility of name clashes? Or am I overlooking some trick? Alan Isaac -- http://mail.python.org/mailman/listinfo/python-list