[Pythonmac-SIG] setting search path on OS 9 behind $(PYTHON)

Jack Jansen jack@oratrix.nl
Tue, 10 Jul 2001 22:15:51 +0200


Recently, "kevin parks" <kp87@lycos.com> said:
> Back on OS 9 for a stretch... Heres a question. I usually for one reason or a
> nother have to reinstall my system. I have had the ultimate nightmare of tras
> hing my Python folder and reinstalling only to realize that i had something i
> n the scripts folder that i should have copied, before wiping the disk. There
> fore i dislike ever putting (or having to put) and of my scripts in my Python
>  folder. IDE be damned. However i have no idea how to set the path in the Edi
> tPythonPrefs doohickey to anything other than $(PYTHON):something:foobar

Simple enough: just type the full pathname and don't start with
$(PYTHON). The $(PYTHON) bit is replaced by the pathname of the Python
home folder early during startup.

So you could simply type "Macintosh HD:My Python Scripts:" into the
text field to have that folder added to your sys.path.
--
Jack Jansen             | ++++ stop the execution of Mumia Abu-Jamal ++++
Jack.Jansen@oratrix.com | ++++ if you agree copy these lines to your sig ++++
www.oratrix.nl/~jack    | see http://www.xs4all.nl/~tank/spg-l/sigaction.htm