On 7/05/2010 4:29 PM, Thomas Heller wrote:
Tim Golden schrieb:
On 05/05/2010 20:33, Thomas Heller wrote:
Does someone have example code snippets how to walk the shell namespace in
Python?
I'm lost in all these pidls and folders.
The code below uses the pywin32 functions to walk. Because ther
Thomas Heller schrieb:
[...]
>
> What I find strange if this:
What I fond strange is this:
>
desktop.GetDisplayNameOf(pidl, SHGDN_FORPARSING)
> u'C:\\Python26\\Lib\\site-packages'
desktop.GetDisplayNameOf(pidl, SHGDN_NORMAL)
> u'Python26'
>
> I would have expected that the last co
On 07/05/2010 07:29, Thomas Heller wrote:
Thanks Tim, your script gave me a good start.
It seems that pywin32 wraps pidls as list of strings, so getting the parent
is as simple as removing the last part
Didn't think of that!
TJG
___
python-win32 mai
Tim Golden schrieb:
> On 05/05/2010 20:33, Thomas Heller wrote:
>> Does someone have example code snippets how to walk the shell namespace in
>> Python?
>> I'm lost in all these pidls and folders.
>
> The code below uses the pywin32 functions to walk. Because there's all
> sorts of things which c
On 05/05/2010 20:33, Thomas Heller wrote:
Does someone have example code snippets how to walk the shell namespace in
Python?
I'm lost in all these pidls and folders.
The code below uses the pywin32 functions to walk. Because there's all
sorts of things which can happen, I've implemented a v. b
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