Hi all,

I'm rather frustrated by an issue I'm having.

This sample bit of code runs fine; however, at the end just hangs and the
program never ends. I'm using Python 2.3.2 (from ActiveState - build 232)

BEGIN CODE

import win32com.client

def recurse(objstr):
        for obj in win32com.client.GetObject(objstr):
                print "Digging into", obj.ADsPath, "class=" + obj.Class
                recurse(obj.ADsPath)

print "At the start"
print recurse("IIS://localhost/W3SVC")
print "At the end"

END CODE

"At the end" does print and at that point it just hangs there.

Any ideas? I will try upgrading to Python 2.3.5 (from ActiveState)
tomorrow and see if that makes any difference.

Thanks in advance,
Jeff

_______________________________________________
Python-win32 mailing list
Python-win32@python.org
http://mail.python.org/mailman/listinfo/python-win32

Reply via email to