Open Desktop Application Using Python

0

Open Desktop Application Using Python

  • This is how you can open any of your desktop applications using python.
  • You can also run terminal command using this subprocess module. For further information you can read documentation and of subprocess module.

Used Module:

  • subprocess

Source Code:

#Follow @Programmerfect

import subprocess
subprocess.Popen("C:\\Windows\\System32\\calc.exe")

Output:

 


 

Post a Comment

0Comments
Post a Comment (0)