def FindRegisterPythonExe(exeAlias, searchPaths, actualFileNames=None):
 import regutil, string
 (fname, ok) = FindPythonExe(exeAlias, actualFileNames, searchPaths)
 if (not ok):
  regutil.RegisterPythonExe(fname, exeAlias)
 return fname

def FindRegisterPythonExe ( exeAlias , searchPaths , actualFileNames = None ) : import regutil , string ( fname , ok ) = FindPythonExe ( exeAlias , actualFileNames , searchPaths ) if ( not ok ) : regutil . RegisterPythonExe ( fname , exeAlias ) return fname
find and register a python exe assumes the core registry setup correctly .