equal
deleted
inserted
replaced
42 subprocess.Popen(popenargs).pid |
42 subprocess.Popen(popenargs).pid |
43 |
43 |
44 def open_lin_svg(svgexepath, svgfile): |
44 def open_lin_svg(svgexepath, svgfile): |
45 """ Open Inkscape on Linux platform """ |
45 """ Open Inkscape on Linux platform """ |
46 if os.path.isfile("/usr/bin/inkscape"): |
46 if os.path.isfile("/usr/bin/inkscape"): |
47 os.system("%s %s &"%(svgexepath , svgfile)) |
47 os.system("%s %s &" % (svgexepath , svgfile)) |
48 |
48 |
49 def open_svg(svgfile): |
49 def open_svg(svgfile): |
50 """ Generic function to open SVG file """ |
50 """ Generic function to open SVG file """ |
51 if wx.Platform == '__WXMSW__' : |
51 if wx.Platform == '__WXMSW__' : |
52 try: |
52 try: |