0

Using subprocess I want to open Windows File Explorer. Then wait for 1 second and close it:

import subprocess, time
subprocess.Popen(r'explorer /select,"D:\tmp\temp"')
time.sleep(1)

How to close File Explorer?

alphanumeric
  • 15,954
  • 55
  • 201
  • 355

0 Answers0