def RegisterPythonExe(exeFullPath, exeAlias=None, exeAppPath=None):
 if exeAppPath:
  raise error, 'Do not support exeAppPath argument currently'
 if (exeAlias is None):
  exeAlias = os.path.basename(exeFullPath)
 win32api.RegSetValue(GetRootKey(), ((GetAppPathsKey() + '\\') + exeAlias), win32con.REG_SZ, exeFullPath)

def RegisterPythonExe ( exeFullPath , exeAlias = None , exeAppPath = None ) : if exeAppPath : raise error , 'Do not support exeAppPath argument currently' if ( exeAlias is None ) : exeAlias = os . path . basename ( exeFullPath ) win32api . RegSetValue ( GetRootKey ( ) , ( ( GetAppPathsKey ( ) + '\\' ) + exeAlias ) , win32con . REG_SZ , exeFullPath )
register a .