[pywin32-checkins] pywin32/com/win32comext/shell/test testShellFolder.py,NONE,1.1
OLD project page for the Python extensions for Windows
Brought to you by:
mhammond
From: <mha...@us...> - 2003-10-08 05:48:02
|
Update of /cvsroot/pywin32/pywin32/com/win32comext/shell/test In directory sc8-pr-cvs1:/tmp/cvs-serv23523 Added Files: testShellFolder.py Log Message: Test a few IShellFolder functions. --- NEW FILE: testShellFolder.py --- from win32com.shell import shell from win32com.shell.shellcon import * sf = shell.SHGetDesktopFolder() print "sf is", sf enum = sf.EnumObjects(0, SHCONTF_FOLDERS | SHCONTF_NONFOLDERS | SHCONTF_INCLUDEHIDDEN) print "enum is", enum for i in enum: name = sf.GetDisplayNameOf(i, SHGDN_NORMAL) print name |