At 04:15 PM 10/6/2005, Gabriel Genellina wrote:
>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
> >
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("I
At 11:15 AM 10/6/2005, Jeff Fisher wrote:
> > Well I ran it w/o problem. Under what are you running it? (IDLE, Python
> > command prompt, ...??)
> > What is the evidence that it hangs?
>
>I'm running it from a command prompt typing: python iisdigger.py
>
>Evidence it hangs? It starts, seems to run
At 11:15 AM 10/6/2005, Jeff Fisher wrote:
> > Well I ran it w/o problem. Under what are you running it? (IDLE, Python
> > command prompt, ...??)
> > What is the evidence that it hangs?
>
>I'm running it from a command prompt typing: python iisdigger.py
>
>Evidence it hangs? It starts, seems to run
> Well I ran it w/o problem. Under what are you running it? (IDLE, Python
> command prompt, ...??)
> What is the evidence that it hangs?
I'm running it from a command prompt typing: python iisdigger.py
Evidence it hangs? It starts, seems to run fully, and then python never
ends. I let it sit for
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
>
This is a very odd problem. I have a module that I want to package up
as a service - it has a "Registry" class, with mainloop and stop
methods (the former sits in an infinite loop, the latter signals the
loop to terminate). I am trying to package this up as a simple
service, as follows:
import win
> Any ideas? I will try upgrading to Python 2.3.5 (from ActiveState)
> tomorrow and see if that makes any difference.
Just did the upgrade and I'm seeing the same hang at the end of the program.
Jeff
signature.asc
Description: OpenPGP digital signature
__
Hi !
Try, with the src property, like :
import win32com.client
test = win32com.client.Dispatch("AcroPDF.PDF.1")
test.src="C:\\107.pdf"
test.LoadFile("C:\\107.pdf")
print test.GetVersions()
etc.
@-salutations
Michel Claveau
___