Register FAQ / Rules Forum Spy Search Today's Posts Mark Forums Read
Go Back   MacRumors Forums > Apple Systems and Services > Programming > Mac Programming

Reply
 
Thread Tools Search this Thread Display Modes
Old Apr 17, 2009, 01:32 PM   #1
sinser
macrumors 6502a
 
Join Date: Sep 2003
python path

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.
sinser is offline   0 Reply With Quote
Old Apr 23, 2009, 09:09 PM   #2
bkap16
macrumors member
 
Join Date: Jan 2009
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.
bkap16 is offline   0 Reply With Quote

Reply
MacRumors Forums > Apple Systems and Services > Programming > Mac Programming

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
thread Thread Starter Forum Replies Last Post
Library path errors after Apple software update. Alan S MacBook Pro 1 Aug 22, 2011 08:11 PM
bash/python question lynkynpark86 Mac Programming 2 Jun 8, 2011 01:05 AM
Python terminal command? lynkynpark86 Mac Programming 2 May 28, 2011 04:28 PM
KVC simple path vs compound path HARDWARRIOR iPhone/iPad Programming 0 Apr 16, 2009 03:23 AM
ipodder/ python can't delete podder python running Learjet035 Mac OS X 10.3 (Panther) Discussion 4 Feb 27, 2005 09:32 AM


All times are GMT -5. The time now is 06:41 AM.

Mac Rumors | Mac | iPhone | iPhone Game Reviews | iPhone Apps

Mobile Version | Fixed | Fluid | Fluid HD
Copyright 2002-2013, MacRumors.com, LLC