parameters: (searchPaths)
docstring: Registers key parts of the Python installation with the Windows Shell.
  
         Assumes a valid, minimal Python installation exists
         (ie, SetupCore() has been previously successfully run)
docstring_summary: Registers key parts of the Python installation with the Windows Shell.
docstring_tokens: Registers key parts of the Python installation with the Windows Shell .
function: def RegisterShellInfo(searchPaths):
      """Registers key parts of the Python installation with the Windows Shell.
  
         Assumes a valid, minimal Python installation exists
         (ie, SetupCore() has been previously successfully run)
      """
      import regutil, win32con
      suffix = IsDebug()
      # Set up a pointer to the .exe's
      exePath = FindRegisterPythonExe("Python%s.exe" % suffix, searchPaths)
      regutil.SetRegistryDefaultValue(".py", "Python.File", win32con.HKEY_CLASSES_ROOT)
      regutil.RegisterShellCommand("Open", QuotedFileName(exePath)+" \"%1\" %*", "&Run")
      regutil.SetRegistryDefaultValue("Python.File\\DefaultIcon", "%s,0" % exePath, win32con.HKEY_CLASSES_ROOT)
  
      FindRegisterHelpFile("Python.hlp", searchPaths, "Main Python Documentation")
      FindRegisterHelpFile("ActivePython.chm", searchPaths, "Main Python Documentation")
function_tokens: def RegisterShellInfo ( searchPaths ) : import regutil , win32con suffix = IsDebug ( ) # Set up a pointer to the .exe's exePath = FindRegisterPythonExe ( "Python%s.exe" % suffix , searchPaths ) regutil . SetRegistryDefaultValue ( ".py" , "Python.File" , win32con . HKEY_CLASSES_ROOT ) regutil . RegisterShellCommand ( "Open" , QuotedFileName ( exePath ) + " \"%1\" %*" , "&Run" ) regutil . SetRegistryDefaultValue ( "Python.File\\DefaultIcon" , "%s,0" % exePath , win32con . HKEY_CLASSES_ROOT ) FindRegisterHelpFile ( "Python.hlp" , searchPaths , "Main Python Documentation" ) FindRegisterHelpFile ( "ActivePython.chm" , searchPaths , "Main Python Documentation" )