Suggest a feature
×

Welcome to TagMyCode

Please login or create account to add a snippet.
1
0
 
1
Language: Python
Posted by: Jean-Pierre Hermans
Added: May 23, 2021 9:06 AM
Views: 365
Tags: no tags
  1. '''Execute an external program'''
  2. import subprocess
  3.  
  4. # Replace the file and location with the file you want to run.
  5. subprocess.Popen(r"C:\Windows\explorer.exe")
Comments disabled