Commits

Vinay Sajip committed ded290b Draft

Updated documentation.

  • Participants
  • Parent commits 639582f

Comments (0)

Files changed (1)

File Doc/launcher.rst

 The key benefit of this is that a single launcher can support multiple Python
 versions at the same time depending on the contents of the first line.
 
+If you type the following at a command line::
+
+    C:\>assoc .py
+   
+you should see::
+
+    .py=Python.File
+
+and if you type::
+
+    C:\>ftype Python.File
+
+you should see::
+
+    Python.File="C:\Windows\py.exe" "%1" %*
+
+Similarly, ``.pyc`` and ``.pyo`` files should map to ``Python.CompiledFile``,
+and ``.pyw`` should map to ``Python.NoConFile``. While ``Python.CompiledFile``
+maps to the same executable as ``Python.File``, ``Python.NoConFile`` should
+map to ``pyw.exe`` rather than ``py.exe``.
+
+
 -------------
 Shebang Lines
 -------------