Tkinter - way to open a directory window in Windows Explorer
<p>I've been looking into Tkinter and recently have made a small program just to monitor folders and check how many files are inside. </p>

<p>I'de like to create buttons that open the folders in Windows Explorer but I can't find any info on doing so. </p>

<p>Anyone got any Ideas?</p>

<p>Cheers,
Jon</p>

<p>Thanks for the quick response I'd already tried something similar but I'm probably doing something wrong. Here's my code :</p>

<pre><code>def open():
    os.system("explorer C:\\ folder dir")

label1 = Button(self, text="Pre TC", fg="red", font=("Ariel", 9, "bold"), command=open)
</code></pre>