<p>In Python, how do I jump to a file in the Windows Explorer? I found a solution for jumping to folders:</p>

<pre><code>import subprocess
subprocess.Popen('explorer "C:\path\of\folder"')
</code></pre>

<p>but I have no solution for files.</p>

From
Geoff Chappell's
The Windows Explorer Command Line
```
```
import subprocess
subprocess.Popen(r'explorer /select,"C:\path\of\folder\file"')
```
```