key = _winreg.OpenKey(_winreg.HKEY_CURRENT_USER, Key_Name, 0, _winreg.
    KEY_ALL_ACCESS)
_winreg.DeleteKey(key, 'Test1')
How to delete the one application's registry key from the regedit using python script?