[python-win32] Walking the shell namespace in Python
Thomas Heller
theller at ctypes.org
Wed May 5 21:33:53 CEST 2010
Does someone have example code snippets how to walk the shell namespace in Python?
I'm lost in all these pidls and folders.
Basically I want to implement a combobox similar to the 'explorer bar' in Windows explorer;
given a certain directory - say 'c:\Python26\lib\site-packages' I want to find the names
(and laster also the icons) for the files and folders in it, and (more important) the anchestor
names and icons like this (using a german windows):
Desktop
Eigene Dateien
Arbeitsplatz
WD320 (C:)
Python26
Lib
site-packages
DVD-RAM Laufwerk (D:)
...
Netzwerk
Papierkorb
...
--
Thanks,
Thomas
More information about the python-win32
mailing list