python 访问win32程序和指定地址程序

1 import subprocess
2 p=subprocess.Popen("calc.exe",0,None,None,None,None)
3 p.wait() 
4 p=subprocess.Popen("D:\Program Files\Tencent\QQ\Bin\QQ.exe",0,None,None,None,None)
5 p.wait()
6 
7 import os
8 os.system("notepad") 
9 os.system("c:\\test.txt")

相关文章:

  • 2021-10-03
  • 2021-12-24
  • 2021-08-16
  • 2021-10-03
猜你喜欢
  • 2021-10-26
  • 2021-06-24
  • 2021-07-17
  • 2021-05-31
  • 2022-12-23
相关资源
相似解决方案