Created
December 20, 2018 21:30
-
-
Save spontaneOS/c547db4e78e9944279f65ceec726e118 to your computer and use it in GitHub Desktop.
Launch explorer at location of and with given file selected.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Launch explorer at location of and with given file selected. | |
import subprocess | |
subprocess.Popen("explorer /select," + "FILE_PATH") |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment