import sys sys.path=[p for p in sys.path if len(p) > 0]