Re: Newbie thwarted by sys.path on Vista

2009-08-02 Thread Michael M Mason
Dave Angel da...@ieee.org wrote in message news:mailman.4120.1249172970.8015.python-l...@python.org... Michael M Mason wrote: div class=moz-text-flowed style=font-family: -moz-fixedI'm running Python 3.1 on Vista and I can't figure out how to add my own directory to sys.path. Thanks to

Re: Newbie thwarted by sys.path on Vista

2009-08-02 Thread Mark Lawrence
Michael M Mason wrote: Dave Angel da...@ieee.org wrote in message news:mailman.4120.1249172970.8015.python-l...@python.org... Michael M Mason wrote: div class=moz-text-flowed style=font-family: -moz-fixedI'm running Python 3.1 on Vista and I can't figure out how to add my own directory to

Re: Newbie thwarted by sys.path on Vista

2009-08-02 Thread Michael M Mason
Mark Lawrence breamore...@yahoo.co.uk wrote in message news:mailman.4130.1249203322.8015.python-l...@python.org... Be careful, I'm screwed things up on several occasions by placing a file on PYTHONPATH that overrides a file in the standard library, test.py being my favourite! Thanks. Sure

Re: Newbie thwarted by sys.path on Vista

2009-08-02 Thread Mark Lawrence
Michael M Mason wrote: Mark Lawrence breamore...@yahoo.co.uk wrote in message news:mailman.4130.1249203322.8015.python-l...@python.org... Be careful, I'm screwed things up on several occasions by placing a file on PYTHONPATH that overrides a file in the standard library, test.py being my

Re: Newbie thwarted by sys.path on Vista

2009-08-02 Thread Christian Heimes
Michael M Mason wrote: I'm running Python 3.1 on Vista and I can't figure out how to add my own directory to sys.path. The docs suggest that I can either add it to the PYTHONPATH environment variable or to the PythonPath key in the registry. However, PYTHONPATH doesn't exist, and updating

Newbie thwarted by sys.path on Vista

2009-08-01 Thread Michael M Mason
I'm running Python 3.1 on Vista and I can't figure out how to add my own directory to sys.path. The docs suggest that I can either add it to the PYTHONPATH environment variable or to the PythonPath key in the registry. However, PYTHONPATH doesn't exist, and updating the registry key has no

Re: Newbie thwarted by sys.path on Vista

2009-08-01 Thread Jon Clements
On 1 Aug, 22:58, Michael M Mason mich...@altra-optics.co.uk wrote: I'm running Python 3.1 on Vista and I can't figure out how to add my own directory to  sys.path. The docs suggest that I can either add it to the PYTHONPATH environment variable or to the PythonPath key in the registry.  

Re: Newbie thwarted by sys.path on Vista

2009-08-01 Thread Piet van Oostrum
Michael M Mason mich...@altra-optics.co.uk (MMM) wrote: MMM I'm running Python 3.1 on Vista and I can't figure out how to add my own MMM directory to sys.path. MMM The docs suggest that I can either add it to the PYTHONPATH environment MMM variable or to the PythonPath key in the registry.

Re: Newbie thwarted by sys.path on Vista

2009-08-01 Thread Dave Angel
Michael M Mason wrote: div class=moz-text-flowed style=font-family: -moz-fixedI'm running Python 3.1 on Vista and I can't figure out how to add my own directory to sys.path. The docs suggest that I can either add it to the PYTHONPATH environment variable or to the PythonPath key in the

Re: Newbie thwarted by sys.path on Vista

2009-08-01 Thread David Lyon
On Sat, 1 Aug 2009 22:58:53 +0100, Michael M Mason mich...@altra-optics.co.uk wrote: I'm running Python 3.1 on Vista and I can't figure out how to add my own directory to sys.path. The docs suggest that I can either add it to the PYTHONPATH environment variable or to the PythonPath key in