At Thursday 6/10/2005 00:51, you wrote: >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.
Maybe it doesn't matter, but try removing the print statement on print recurse(...) since recurse() doesnt return anything print "At the start" recurse("IIS://localhost/W3SVC") print "At the end" Gabriel Genellina Softlab SRL _______________________________________________ Python-win32 mailing list Python-win32@python.org http://mail.python.org/mailman/listinfo/python-win32