open in file explorer python code example
Example 1: python open file from explorer
import sys
path = r'C:\Program Files (x86)\IronPython 2.7\Lib'
sys.path.append(path)
import subprocess
subprocess.Popen('explorer "C:\temp"')
Example 2: how to open file explorer in python
import easygui
file = easygui.fileopenbox()