def get_inkscape_path():
""" Return the Inkscape path """
import _winreg
svgexepath = _winreg.QueryValue(_winreg.HKEY_LOCAL_MACHINE,
'Software\\Classes\\svgfile\\shell\\Inkscape\\command')
svgexepath = svgexepath.replace('"%1"', '')
return svgexepath.replace('"', '')
评论列表
文章目录