[Tutor] More path questions

wheelege wheelege@tsn.cc
Sun, 21 Jan 2001 12:27:41 +1100


  What you CAN do is separate each path itch a semicolon- eg.

  set PYTHONPATH = C:\MYMODULES;C:\PYTHON20;C:\WINDOWS\COMMAND

etc

  I don't know if this is the best solution, but it's the one that I use.

  Hope I helped,
  GLen.


> Hi,
>
> Newbie. Python 20 and Windows 98.
>
>
> Thanks to some of you, now I know that if I want the python interpreter to
> search for a specific directory where I keep my modules, I have to modify
> the PYTHONPATH variable.
> In my case (Win98) this can be done by adding to the autoexec.bat file a
> line like that :
>
> set PYTHONPATH = C:\MYMODULES
>
> Well, my question now is : how can I change it so that it searches all the
> subdirectories too ?
> e.g. I have c:\mymodules\program1  and c:\my modules\program2; is there a
> way to avoid adding TWO lines to my autoexec.bat file ?
>
> Thanks in advance.
>
> Fabrizio C.
>
>
>
>
>
>
>
> _______________________________________________
> Tutor maillist  -  Tutor@python.org
> http://mail.python.org/mailman/listinfo/tutor