import winreg
Key_Name = 'Software\\Qube Cinema\\QubeMaster Pro'
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?