def getPlayer(name):
if isinstance(name, PlayerRecord): return name<EOL>try:    return getKnownPlayers()[name.lower()]<EOL>except KeyError:<EOL><INDENT>raise ValueError("<STR_LIT>"%(name))<EOL><DEDENT>
obtain a specific PlayerRecord settings file