At 08:51 PM 10/5/2005, Jeff Fisher TEST wrote: >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?
Well I ran it w/o problem. Under what are you running it? (IDLE, Python command prompt, ...??) What is the evidence that it hangs? _______________________________________________ Python-win32 mailing list Python-win32@python.org http://mail.python.org/mailman/listinfo/python-win32