At 07:38 PM 2/6/2008 +0100, Christian Heimes wrote: >The first line of the file is read and parsed. The line must start with >a shebang (#!). Contrary to your script it doesn't look for a complete >path but searches for pythonX.Y. "#!python2.5" or "#!/usr/bin/python2.5" >both work. > >Then the launcher executable queries the installation path of Python X.Y >from the registry (first HKCU, then HKLM). At last the script is >executed with the Python binary: python.exe for .py and pythonw.exe for >.pyw. The working directory is the absolute path of spam.exe. This way >we neither have to change the paths for Windows scripts nor quote the >path name. > >Comments?
I intentionally didn't do it that way because it won't work right for Python applications that bundle their own not-in-the-registry Python. _______________________________________________ Python-3000 mailing list Python-3000@python.org http://mail.python.org/mailman/listinfo/python-3000 Unsubscribe: http://mail.python.org/mailman/options/python-3000/archive%40mail-archive.com