Excuting scripts question
Erik Max Francis
max at alcyone.com
Sat Jun 7 19:04:40 EDT 2003
Ken wrote:
> Hi, I have a few scripts that ran well in Unix environment with:
> #!/usr/local/bin/python
>
> What do I need to change to if I relocate these scripts on a Windows
> environment? I have installed Python 2.2.3 in C:\Python22 directory.
Presumably nothing, since Windows does file associations a different
way. The file extension will be mapped to the Python interpreter
(presuming it's been installed properly); as far as I know, Windows
never looks at a bangpath.
--
Erik Max Francis && max at alcyone.com && http://www.alcyone.com/max/
__ San Jose, CA, USA && 37 20 N 121 53 W && &tSftDotIotE
/ \ Physics, as we know it, will be over in six months.
\__/ Max Born (1928)
More information about the Python-list
mailing list