> It works when the program you are executing is in the current working > directory, because Python always puts the directory containing the > program you are executing (not the current working directory) on the path.
Aha, that makes sense. I also found with a quick test that importing a module from the current dir works because '' is part of sys.path. I'm again amazed how beautifull it is all put together :) Cheers, Almar -- http://mail.python.org/mailman/listinfo/python-list