[Pythonmac-SIG] Path Statement

Bob Ippolito bob at redivi.com
Fri Apr 9 16:58:14 EDT 2004


On Apr 9, 2004, at 4:38 PM, Jason Van Anden wrote:

> I wrote a bunch of toy applications on a Windows machine earlier 
> today.  When I ran them there, it found files it needed to import if 
> they were in the same directory as the code I was running.   I am not 
> getting the same result when I try to do this on my Mac OS X machine.  
>  Is there a way to make this work the same way?

Python modules that are in the same directory should nearly always be 
able to find each other regardless of platform.  You'll probably need 
to give us a better description of how you are running them on OS X, 
how they import each other, versions of OS X and Python, how Python was 
installed, etc. before you're going to get any specific suggestions.

-bob




More information about the Pythonmac-SIG mailing list