To keep a learning project together I'm creating my module files in a folder within my account. Not using any fancy IDE yet I brought up PythonIDE and (of course) the first import of one of my modules failed. Having read about a .pth file I created a one liner with a full path to my learning project folder and then looked around for where to put it. I noticed other .pth files in /Library/Python/2.3 so I put it there and now the imports of my modules work.
The point here is though this worked, is this the correct (normally accepted) way to do such. That is, keeping a project's "unique" modules in an isolated folder (or folder structure), creating a .pth file to such and placing that file in /Library/Python/2.3?
If someone has already elaborated on this subject then please just point me at the piece.
I don't want to develop any "bad" practices that at best annoy others and at worst come back to bite me :~)
Thanks, Lee C
_______________________________________________ Pythonmac-SIG maillist - Pythonmac-SIG@python.org http://mail.python.org/mailman/listinfo/pythonmac-sig