pth files - can they prepend to sys.path?

Skip Montanaro skip at pobox.com
Fri Dec 28 15:02:37 EST 2001


    Skip> Is it possible to force a directory mentioned in a .pth file to be
    Skip> inserted at the beginning of sys.path instead of appended to the
    Skip> end?

    Martin> By means of a dirty trick, perhaps....

You are one sly dog, Martin... ;-)

Thx,

Skip




More information about the Python-list mailing list