Re: [Tutor] newbie OSX module path question

2005-02-14 Thread Max Noel
On Feb 15, 2005, at 02:38, Mike Hall wrote: Ok, I've got it working. The environment.plist file wants a path beginning with /Users, not /Local_HD. So simple! Thanks everyone. Yeah, the system hard drive on Mac OS X (which is seen as "Macintosh HD", or in your case "Local HD" in the Finder) is m

Re: [Tutor] newbie OSX module path question

2005-02-14 Thread Mike Hall
Ok, I've got it working. The environment.plist file wants a path beginning with /Users, not /Local_HD. So simple! Thanks everyone. On Feb 14, 2005, at 6:26 PM, David Rock wrote: * Mike Hall <[EMAIL PROTECTED]> [2005-02-14 18:22]: Hm, so if I import glob, and then execute this line: print glob.gl

Re: [Tutor] newbie OSX module path question

2005-02-14 Thread David Rock
* Mike Hall <[EMAIL PROTECTED]> [2005-02-14 18:22]: > Hm, so if I import glob, and then execute this line: > > print glob.glob('/Local_HD/Users/mike/Documents/pythonModules/*.py') > > I simply get brackets returned: > > [] > > > ...not sure what this means. Thanks again. It means it didn't fi

Re: [Tutor] newbie OSX module path question

2005-02-14 Thread Mike Hall
Hm, so if I import glob, and then execute this line: print glob.glob('/Local_HD/Users/mike/Documents/pythonModules/*.py') I simply get brackets returned: [] ...not sure what this means. Thanks again. On Feb 14, 2005, at 5:41 PM, Danny Yoo wrote: On Mon, 14 Feb 2005, Mike Hall wrote: Can you show

Re: [Tutor] newbie OSX module path question

2005-02-14 Thread Danny Yoo
On Mon, 14 Feb 2005, Mike Hall wrote: > > Can you show us what your sys.path looks like? Just do a > > cut-and-paste so we can quickly validate it for you. > > Thanks for the response. Here's a paste of what sys.path returns. The > first listing is the path inside of environment.plist: > > ['',

Re: [Tutor] newbie OSX module path question

2005-02-14 Thread Danny Yoo
On Mon, 14 Feb 2005, Mike Hall wrote: > I'm on OS X, and I cannot get Python to import modules I've saved. I > have created the the environment.plist file and appended it with my > desired module path. If I print sys.path from the interpreter, my new > path does indeed show up as the first listi

[Tutor] newbie OSX module path question

2005-02-14 Thread Mike Hall
I'm on OS X, and I cannot get Python to import modules I've saved. I have created the the environment.plist file and appended it with my desired module path. If I print sys.path from the interpreter, my new path does indeed show up as the first listing, yet any attempt at importing modules from