Question: In Python 2.5, I import modules by changing environment variables. It works, but using site-packages does not. Is there another way to import modules in directories other than C:\Python25 ?

Answer: 
Append the location to the module to `sys.path`. 

Edit: (to counter the post below ;-) )
`os.path` does something completely different. You need to use `sys.path`.

```
sys.path.append("/home/me/local/modules")

```
`sys.path` is a list to which you can append custom paths to search like this:

```
sys.path.append("/home/foo")

```