[Tutor] command=F.quit not closing the sample TK program in Vista

Alan Gauld alan.gauld at btinternet.com
Sat Nov 19 23:52:42 CET 2011


On 19/11/11 14:59, Cranky Frankie wrote:

> I added C:\Python32 to the path environment variable in Vista,
> rebooted, and tried the test programs at the command prompt, and it
> says it can't find the program.


You need to provide the full path to the file.

C\WINDOWS> python C:\the\full\path\to\myfile.py

Either that or CD to the folder first:

C\WINDOWS> CD C:\the\full\path\to
C:\the\full\path\to> python myfile.py

The easiest way is just to double click the file in explorer,
the associations should all be set up by the installer...

-- 
Alan G
Author of the Learn to Program web site
http://www.alan-g.me.uk/



More information about the Tutor mailing list