3 ms·
As long as Wibble was unique I think you'd be okay, but personally I've just been going with option #2 and at the start of every script I modify sys.path to mov
by autoexec 4y ago
As long as Wibble was unique I think you'd be okay, but personally I've just been going with option #2 and at the start of every script I modify sys.path to move sys.path[0] to the end. I agree with wrobell that it's hacky and far from the ideal, but it works and it should keep me from running into nasty surprises later.
Another idea I saw suggested someplace was to just keep every script or module you create in its own directory to limit the potential for conflicts.