how to open a windows folder?

N. Pourcelot baudelaire_2c at
Fri Nov 4 17:56:52 CET 2005

With module os, you may execute some files.
something like :
os.execl("explorer.exe", *arg)
(syntax ?)
you sould also be able to send some command to console.

Bell, Kevin wrote:
> I'd love to be able to open up a windows folder, like c:\temp, so that
> it pops up visually.  I know how to drill down into a directory, but I
> can't figure out how to open one up on screen.  Would I have to make a
> call to windows explorer in a similar way that I hit Excel with:
> 	from win32com.client import Dispatch
> 	Excel = Dispatch("Excel.Application")
> Any clues?

More information about the Python-list mailing list