Python Path

Ive just installed Python 2.2.2 on Win 2000 and have set the environment variable under My Comp properties. After doing this should I be able to launch Python from the command console. i.e by typing python at the c prompt.

This is the path that I used.
C:\PYTHON22;C:\PYTHON22\DLLS;C:\PYTHON22\LIB;C:\PY
THON22\LIB\LIB-TK

If python cant be launched this way how do I create scripts that can be run.

Thanks in advance

That depends, is the python executable in one of those directories you placed in your path?

The exe is in C:\python22

Ive just realised that I can execute a script by double clicking on it, so the path must be working OK

Starting python by double clicking doesn’t actually need the path variable as far as I know, python tries to determine the path itself, which you can use to your advantage to find out what your pythonpath should be as explained in the python101 thread above. The PYTHONPATH variable is only really needed for Blender, or if you have any external modules you want python to know about.