[Tutor] Help on python file extension windows vista recognition

Tim Golden mail at timgolden.me.uk
Tue Oct 13 09:48:36 CEST 2009


Dave Angel wrote:
> You will also need to get comfortable with the DOS box (Command Prompt,  
> whatever Vista calls it.  It's probably in Start->Accessories).  In a 
> DOS box, you could do a DIR of that directory, and see exactly what the 
> file is called.  You also could invoke python or pythonw explicitly on 
> the file, with extra option switches.  And when the program finishes, 
> the window with the result wouldn't automatically vanish.  And you can 
> scroll back and see what's been happening in previous runs.  And you can 
> actually type arguments to your script.  And ...


If you haven't already, check out the "Using Python on..."
section of the docs. This is an online link:

  http://docs.python.org/using/windows.html

but the docs are included in the standard Windows install.

TJG


More information about the Tutor mailing list