[Tutor] re: windows 98 PATH config

alan.gauld@bt.com alan.gauld@bt.com
Wed, 9 Jun 1999 10:05:04 +0100


> Can now run python from my DOS prompt, but still can't 
> execute module file on my desktop.

Hmm, have you set the file association so that Windows knows 
that a .py file needs to run python?

Done thru' the View|Options|FileTypes from Explorer or MyComputer

Also have your modules got the

if __name__ == '__main__':

line set up?

Alan G.