def get_inkscape_path():
    """ Return the Inkscape path """
    from six.moves import winreg
    try:
        svgexepath = winreg.QueryValue(winreg.HKEY_LOCAL_MACHINE,
            'Software\\Classes\\svgfile\\shell\\Inkscape\\command')
    except OSError:
        svgexepath = winreg.QueryValue(winreg.HKEY_LOCAL_MACHINE,
            'Software\\Classes\\inkscape.svg\\shell\\open\\command')
    svgexepath = svgexepath.replace('"%1"', '')
    return svgexepath.replace('"', '')
