thnx sir,
so it means the following code is correct?

Qt Code:
  1. QProcess process;
  2.  
  3. process.setWorkingDirectory("D:\\QTDev\\QuickEditor");
  4. process.setProgram("python helloworld.py");
  5. process.start("python helloworld.py");
  6. process.waitForFinished(1000);
To copy to clipboard, switch view to plain text mode