How to open an explorer window?

Grant Edwards grante at visi.com
Wed Aug 1 08:54:23 PDT 2007


On 2007-08-01, Robert Dailey <rcdailey at gmail.com> wrote:

> The suggestions here so far I like better than nothing,

I'm curious: what exactly do you think is wrong with it?

  subprocess.Popen('explorer /select,c:\\path\\to\\file.py')

It does exactly what you asked with a single line of code, yet
you're dissatisfied.
  
> at least the code is somewhat clean.

What's unclean about it?

-- 
Grant Edwards                   grante             Yow! I hope I bought the
                                  at               right relish ... zzzzzzzzz
                               visi.com            ...





More information about the wxpython-users mailing list