Mark Carter <[EMAIL PROTECTED]> wrote in
news:[EMAIL PROTECTED]: 

> What I would like to do it type something like
> > myscript.py
> instead of
> > python myscript.py
> on a Windows console. I know its possible because Ruby scripts
> manage to do this - I just don't know the registry settings that
> need to be tweaked to enable it. Any ideas (I'd prefer to know
> the registry settings rather than a graphical way to accomplish
> the goal)? 

As another poster points out, be sure that your Python is on your 
path. 

And there is a PATHEXT environment variable, which contains 
extensions that signal that the program is executable. Add .PY and 
.PYW to this list and you will be good to go.

-- 
rzed
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to