open choose files from file explorer python
import tkinter as tk
from tkinter import filedialog
root = tk.Tk()
root.withdraw()
files = filedialog.askopenfilenames()
4
1
import sys
path = r'C:\Program Files (x86)\IronPython 2.7\Lib'
sys.path.append(path)
import subprocess
subprocess.Popen('explorer "C:\temp"')
Thank you!
1
0
Are there any code examples left?
New code examples in category Python