[Tutor] executing Python programs in windows

D-Man dsh8290@rit.edu
Tue, 10 Jul 2001 11:34:18 -0400


On Mon, Jul 09, 2001 at 10:48:28PM -0400, Paul Brown wrote:
| 
|    hello,
|    
|    i know that in Linux, you can do the chmod function to allow the user
|    to be able to execute a python program from any directory in the
|    system.  for example, if python was installed in the /home/python
|    directory, you could still execute a python script even if you are in
|    /home/myfiles directory (just an example) in the terminal.  is there
|    any way to do this in Windows?  thanks

Windows doesn't have any permissions on files.  It will let you
execute any darn file you want (more or less -- sometimes the default
action is to open it in a viewer of some sort).  As long as .py files
are associated with python.exe, you can simply double-click it to run
it.

-D