PYTHONPATH & Win 98 - seems broken

Quasimodo KILLzdramboSPAMMERS at zdnetmail.com
Mon Aug 21 12:33:26 EDT 2000


Piet's right.  It's not long filenames PYTHONPATH has a problem with, it's
names.with spaces in it.

Jose



"Mitchell Timin" <timin at home.com> wrote in message
news:39A143F0.330C08C2 at home.com...
> Thanks to all those who helped.  The trouble turns out to be that the
python
> interpreter wont accept "my documents" as part of PYTHONPATH; it requires
> mydocu~1.
>
> m
>
> Mitchell Timin wrote:
>
> > Admittedly, I'm a newbie, but it seems clear enough that the PYTHONPATH
> > variable should let me access a .py file in a different directory.
details:
> >
> > I'm working in a DOS window.  PYTHONPATH is set to:
> > c:\"my documents"\python.  In that directory is a file prog.py.  My
current
> > directory is c:\Python16.  I type: python prog.py, and I get the message
> > "can't open file 'prog.py'.
> >
> > ?
> >
> > Thanks in advance,
> >
> > m
>





More information about the Python-list mailing list