This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import os | |
from cStringIO import StringIO | |
try: | |
import xml.etree.cElementTree as Xml | |
except ImportError: | |
import xml.etree.ElementTree as Xml | |
from PySide import QtGui # noqa | |
from PySide.QtCore import QFile | |
from PySide.QtUiTools import QUiLoader |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
try: | |
from PySide2 import QtCore, QtGui, QtWidgets | |
from shiboken2 import wrapInstance | |
except ImportError: | |
from PySide import QtCore, QtGui | |
from PySide import QtGui as QtWidgets | |
from shiboken import wrapInstance |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
global Dos_Command | |
struct DOSCMD ( | |
fn run exe_path arg_array:undefined as_string:false = | |
( | |
local process = dotNetObject "System.Diagnostics.Process" | |
process.StartInfo.UseShellExecute = false | |
process.StartInfo.RedirectStandardOutput = true | |
process.StartInfo.RedirectStandardError = true | |
process.StartInfo.FileName = exe_path |