Amit Khemka wrote: > But It looked like an overkill, Is there a more elegant and better way > of doing it ?
try: path = sys.path[:] sys.path.insert(0, mypath) # or something import mymodule finally: sys.path = path </F> -- http://mail.python.org/mailman/listinfo/python-list