When I run: os.listdir('c:\Python27\lib\site-packages') I get the contents in order, so the folders come before .pth files (as nothing comes before something.) I would guess Python is using os.listdir. Why wouldn't it? -- http://mail.python.org/mailman/listinfo/python-list
- Understanding .pth in site-packages Josh English
- Re: Understanding .pth in site-packages Philip Semanchuk
- Re: Understanding .pth in site-packages Peter Otten
- Re: Understanding .pth in site-packages Josh English
- Re: Understanding .pth in site-packages Philip Semanchuk
- Re: Understanding .pth in site-packages Terry Reedy
- Re: Understanding .pth in site-package... Philip Semanchuk
- Re: Understanding .pth in site-package... Josh English
- Re: Understanding .pth in site-pa... Philip Semanchuk
- Re: Understanding .pth in site-packages Josh English
- Re: Understanding .pth in site-packages Stephen Hansen
- Re: Understanding .pth in site-packages OKB (not okblacke)
- Re: Understanding .pth in site-packages Josh English
- Re: Understanding .pth in site-packages OKB (not okblacke)