[Tutor] was no subject, getting started

alan.gauld@bt.com alan.gauld@bt.com
Mon, 4 Mar 2002 15:34:24 -0000


> If you're in windows you have my sympathy.
> You will probably need to add the appropriate paths and actually have 
> something like this
> 
> c:\ c:\python21\python c:\my documents\python\myscript.py

This is the pathalogical cxase. In most situations the 
PATH etc will be set up by the installer so all you need 
to do is (in a DOS box) type:

C:\> python myscript.py

The file associations and PATH settings will do the rest...

Alternatively go to Start->Run anf type 

myscript.py

In the dialog and the file extension will automatically 
detect python as the executable.

And finally yopu can just navigate to the file and double 
click in explorer.

> Windows is not really very nice for developing partly because 
> of these problems.

Its really not that painful!
The DOS prompt is dumb and there are several other issues 
but I don't think that launching apps is a significant barrier.

Alan g.