def BuildDefaultPythonKey():
 return ('Software\\Python\\PythonCore\\' + sys.winver)

def BuildDefaultPythonKey ( ) : return ( 'Software\\Python\\PythonCore\\' + sys . winver )
builds a string containing the path to the current registry key .