def findAppInWindows(appexe):
    try:
        import winreg
    except ImportError:
        import _winreg as winreg
    handle = winreg.OpenKey(winreg.HKEY_LOCAL_MACHINE, ('SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\App Paths\\%s' % appexe))
    num_values = winreg.QueryInfoKey(handle)[1]
    for i in range(num_values):
        print(winreg.EnumValue(handle, i))
def findAppInWindows(appexe):
    try:
        import winreg
    except ImportError:
        import _winreg as winreg
    handle = winreg.OpenKey(winreg.HKEY_LOCAL_MACHINE, ('SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\App Paths\\%s' % appexe))
    num_values = winreg.QueryInfoKey(handle)[1]
    for i in range(num_values):
        print(winreg.EnumValue(handle, i))