I have the path to a file, say C:\path\to\file.txt. I need a way to open the folder where that file (file.txt) resides,
and select it.
Since I am on a Windows machine, I can use the webbrowser module to load a path:
import webbrowser
webbrowser.open(r"C:\path\to\file.txt")
However, this does not select the file. (I do not want to open it, just to select it.)
Thanks in advance. I'm not even sure this is possible in Python.