[python-win32] Weird ADSI hang.
bob
bgailer at alum.rpi.edu
Thu Oct 6 19:36:29 CEST 2005
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?
More information about the Python-win32
mailing list