Oh, I thought that you could install multiple instances of Python. I recall reading somewhere that they advised installing the latest stable version b/c the one that comes with Apple is often out-dated (as it is whatever version existed when the your particular model came out).  <br>
<br><br><br><div class="gmail_quote">On Fri, Jun 26, 2009 at 10:16 PM, Luke Paireepinart <span dir="ltr">&lt;<a href="mailto:rabidpoobear@gmail.com">rabidpoobear@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div><div></div><div class="h5">Daniel Sato wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hi,<br>
<br>
Let me preface this by saying that I purchased O&#39;Reilly&#39;s &quot;Learn Python&quot; yesterday and have no programming experience (I am a photographer by trade) except for a semester of what I think was BASIC on some old apple back in elementary school (circa 1992).<br>

<br>
I am not sure what details are relevant, so I will try and include as much as possible.  I have a MacBook Pro running Mac OSX 10.5.6.  I recently dl&#39;ed MacPython 2.5, which installed Python 2.5.4 on my system. <br>
When I am in the terminal, I can run a module by typing python fullpath/to/script.py<br>
<br>
However, when I enter Python from the terminal, by typing python, I can no longer import items in this way unless the .py file is in my user folder /Users/Me.  How can I change my settings so that I can import .py files from a separate directory such as /Users/Me/Documents/PyMods?<br>

</blockquote>
<br></div></div>
Hi Daniel,<br>
You should try uninstalling MacPython.  Macintosh computers come with Python preinstalled and you should try to use that version instead.  Probably what happened was that, when installing the other version of Python, you messed up some of the references for the paths of libraries and such.<br>

<br>
If that doesn&#39;t work, look for an article on upgrading Python on a mac, it should detail how to fix anything that breaks when you install MacPython.<br>
Good luck, and let us know if you have any other problems!<br>
<br>
</blockquote></div><br><br clear="all"><br>-- <br>Daniel Sato<br><a href="http://www.danielsato.com">http://www.danielsato.com</a><br>