def addToNamePathDictionary(directoryPath, namePathDictionary):
 pluginFileNames = getPluginFileNamesFromDirectoryPath(directoryPath)
 for pluginFileName in pluginFileNames:
  namePathDictionary[pluginFileName.replace('_', '')] = os.path.join(directoryPath, pluginFileName)

def addToNamePathDictionary ( directoryPath , namePathDictionary ) : pluginFileNames = getPluginFileNamesFromDirectoryPath ( directoryPath ) for pluginFileName in pluginFileNames : namePathDictionary [ pluginFileName . replace ( '_' , '' ) ] = os . path . join ( directoryPath , pluginFileName )
add to the name path dictionary .