Advertisement
A_GUES

Python run exe

Jul 12th, 2023
1,220
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.15 KB | None | 0 0
  1. import subprocess
  2.  
  3. # replace 'path_to_your_exe_file' with the path to the .exe file you want to run
  4. subprocess.run(['path_to_your_exe_file'], check=True)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement