[python-win32] mapping from a service to its class file?

2010-05-07 Thread Bill Janssen
I'm enumerating some service running under XP with mgr = win32service.OpenSCManager(None, None, 4) try: svcinfo = win32service.EnumServicesStatus(mgr) for svc in svcinfo: svch = win32service.OpenService(mgr, svc[0], win32service.SERVICE_QUERY_CONFIG) try: con

Re: [python-win32] Windows freeze

2010-05-07 Thread Vernon Cole
Well, MY Windows PC freezes sporadically even when nothing is running. I think that's considered a feature in Redmond, Washington. ;-) 2010/5/6 Leonhardt, Günter > Hi all, > I'am using python-win32 for communication with 2 terminalservers. > There 16 parallel connection handled, each in a seper

Re: [python-win32] Walking the shell namespace in Python

2010-05-07 Thread Thomas Heller
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

Re: [python-win32] Walking the shell namespace in Python

2010-05-07 Thread Tim Golden
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