Hi Tim,

Thanks for your reply. We do have Visio and Word installed on the instance,
because it allows us to use a windows interface. However, we are trying to
create an Airflow job that calls the python script that uses pywin32, hence
we can’t use the ui.

But at the moment, when we use pywin32 using the ui it always opens Visio
and Word , even though we don’t specifically set  "xxx.Visible = True" as
you mentioned.

Thanks,

On Fri, 2 Dec 2022 at 20:22 Tim Roberts <t...@probo.com> wrote:

> On 12/2/22 12:10 PM, Tim Roberts wrote:
>
> > On 12/2/22 4:25 AM, QMUL_EECS DVS wrote:
> >
> >> Is it related to the fact that I can’t open Visio/ Word windows? If
> >> so, is there a way for me to avoid this error?
> >
> > The first and most obvious question is, do you actually have Office
> > and Visio installed on your AWS instance?  How did you do that without
> > a UI?  Launching Word like this usually does not bring up a UI window
> > unless you specifically set "xxx.Visible = True", so I'm guessing
> > there's something else going on.
> >
> My apologies for the multiple replies.  Either my connection or my mail
> server had a "burp", and it told me it had not sent anything when it
> clearly had.
>
> --
> Tim Roberts, t...@probo.com
> Providenza & Boekelheide, Inc.
>
> _______________________________________________
> python-win32 mailing list
> python-win32@python.org
> https://mail.python.org/mailman/listinfo/python-win32
>
_______________________________________________
python-win32 mailing list
python-win32@python.org
https://mail.python.org/mailman/listinfo/python-win32

Reply via email to