On Sun, Aug 14, 2011 at 12:55 AM, OKB (not okblacke)
<brennospamb...@nobrenspambarn.net> wrote:
> sys.path = sys.path[1:] + ['']
>
> (That is, move the current directory to the end of the search path
> instead of the beginning.)
>

Or, equivalently:

sys.path.append(sys.path.pop(0))

ChrisA
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to