In article <[email protected]>, Jean-Michel Pichavant <[email protected]> wrote: > >I spent quite a time on a malicious issue. I found out that there is a >slight difference on the sys.path content when either executing code >from a shell or from within a script. This difference is the '' item, >which is present in the shell form of sys.path.
Why are you calling this a malicious issue? When I do this test, I find that the current working directory's full path is prepended to sys.path, so if you're having problems, I bet that you're changing your working directory during program execution. -- Aahz ([email protected]) <*> http://www.pythoncraft.com/ "A foolish consistency is the hobgoblin of little minds, adored by little statesmen and philosophers and divines." --Ralph Waldo Emerson -- http://mail.python.org/mailman/listinfo/python-list
