Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

sinser

macrumors 6502a
Original poster
Sep 16, 2003
549
0
I'm on OS X 10.5.6 with Apple's provided Python ver. 2.5.1. I have created some Python modules and I want to add their path to sys.path permanently. I know one can use .pth files but I don't know where to put them.
 

bkap16

macrumors member
Jan 11, 2009
81
0
I believe you can put the .pth files anywhere that's already on sys.path. Looking at my own directories, /Library/Python/2.5/site-packages seems to be a good place.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.