Re: Exchange OWA using Python?

2022-03-31 Thread Grant Edwards
On 2022-03-31, Dennis Lee Bieber wrote: > On Thu, 31 Mar 2022 16:22:33 -0700 (PDT), Grant Edwards > declaimed the following: > >> >>OWA is an HTTP-based API suspport by MS Exchange server. > > From what I found, M$ doesn't consider OWA to be an API... It expands > to "Outlook Web App", period, (an

Re: asyncio+tkinter

2022-03-31 Thread Skip Montanaro
> > > Given that both asyncio & tkinter are modules in the standard lib and > both > > have event loops, I would have expected to find some "best practice" > > solution to mixing the two. > > Agreed. For GTK, you can use a dedicated loop policy like this: > > import asyncio_glib > asyncio.set_event

Re: 'äÄöÖüÜ' in Unicode (utf-8)

2022-03-31 Thread Dennis Lee Bieber
On Fri, 1 Apr 2022 03:59:32 +1100, Chris Angelico declaimed the following: >That's jmf. Ignore him. He knows nothing about Unicode and is >determined to make everyone aware of that fact. > >He got blocked from the mailing list ages ago, and I don't think >anyone's regretted it. > Ah yes.

Re: Exchange OWA using Python?

2022-03-31 Thread Dennis Lee Bieber
On Thu, 31 Mar 2022 16:22:33 -0700 (PDT), Grant Edwards declaimed the following: > >OWA is an HTTP-based API suspport by MS Exchange server. > From what I found, M$ doesn't consider OWA to be an API... It expands to "Outlook Web App", period, (and more recently is called "Outlook for the

Re: Exchange OWA using Python?

2022-03-31 Thread Grant Edwards
On 2022-03-31, Grant Edwards wrote: > Is anybody aware of any Python code for the Exchange OWA protocol/API? > > The OWA e-mail client I've been using has stopped working. It was a > commerical Python application named Hiri, wich has been abandoned by > the developer. I'm trying out Thunderbird

Re: Exchange OWA using Python?

2022-03-31 Thread Grant Edwards
On 2022-03-31, Dan Ciprus (dciprus) via Python-list wrote: > Yes, this ... I've been using this successfully for years and it > obviously has its sad parts but it works pretty well overall. Using the _OWA_ protocol? When our server switched from EWS to OWA, I could no longer get it to work. --

Re: Exchange OWA using Python?

2022-03-31 Thread Grant Edwards
On 2022-03-31, Christian Gollwitzer wrote: > Am 31.03.22 um 16:41 schrieb Grant Edwards: >> Is anybody aware of any Python code for the Exchange OWA protocol/API? >> >> The OWA e-mail client I've been using has stopped working. It was a >> commerical Python application named Hiri, wich has been a

Re: Exchange OWA using Python?

2022-03-31 Thread Grant Edwards
On 2022-03-31, Dieter Maurer wrote: > Grant Edwards wrote at 2022-3-31 07:41 -0700: >>Is anybody aware of any Python code for the Exchange OWA protocol/API? > > According to "https://en.wikipedia.org/wiki/Outlook.com#Mail_client_access"; > Outlook.com (the modern name for OWA) supports "pop3" and

Re: Exchange OWA using Python?

2022-03-31 Thread Dan Ciprus (dciprus) via Python-list
Yes, this ... I've been using this successfully for years and it obviously has its sad parts but it works pretty well overall. From: Python-list on behalf of Christian Gollwitzer Sent: Thursday, March 31, 2022 3:22 PM To: python-list@python.org Subject:

Re: Exchange OWA using Python?

2022-03-31 Thread Christian Gollwitzer
Am 31.03.22 um 16:41 schrieb Grant Edwards: Is anybody aware of any Python code for the Exchange OWA protocol/API? The OWA e-mail client I've been using has stopped working. It was a commerical Python application named Hiri, wich has been abandoned by the developer. So, for now, I'm stuck with

Re: 'äÄöÖüÜ' in Unicode (utf-8)

2022-03-31 Thread Chris Angelico
On Fri, 1 Apr 2022 at 03:45, Dennis Lee Bieber wrote: > > On Thu, 31 Mar 2022 00:36:10 -0700 (PDT), moi > declaimed the following: > > 'äÄöÖüÜ'.encode('utf-8') > >b'\xc3\xa4\xc3\x84\xc3\xb6\xc3\x96\xc3\xbc\xc3\x9c' > len('äÄöÖüÜ'.encode('utf-8')) > >12 > > ? > > Is the

Re: Exchange OWA using Python?

2022-03-31 Thread Dan Ciprus (dciprus) via Python-list
Our org does not have imap nor pop enabled so I guess it depends on your IT and what's enabled for your org. Just my $.02 .. On Thu, Mar 31, 2022 at 07:12:10PM +0200, Dieter Maurer wrote: Grant Edwards wrote at 2022-3-31 07:41 -0700: Is anybody aware of any Python code for the Exchange OWA pro

Re: Suggestion for Linux Distro (from PSA: Linux vulnerability)

2022-03-31 Thread Marco Sulla
On Thu, 31 Mar 2022 at 18:38, Cecil Westerhof via Python-list wrote: > Most people think that > Ubuntu is that also, because it is based on Debian. But Ubuntu wants > also provide the newest versions of software and this will affect the > stability and security negatively. I think you're referrin

Re: Exchange OWA using Python?

2022-03-31 Thread Dieter Maurer
Grant Edwards wrote at 2022-3-31 07:41 -0700: >Is anybody aware of any Python code for the Exchange OWA protocol/API? According to "https://en.wikipedia.org/wiki/Outlook.com#Mail_client_access"; Outlook.com (the modern name for OWA) supports "pop3" and "imap", both supported by Python library modu

Re: Temporally disabling buffering

2022-03-31 Thread Barry
> On 31 Mar 2022, at 17:39, Cecil Westerhof via Python-list > wrote: > > In Python when the output of a script is going to a pipe stdout is > buffered. When sending output to tee that is very inconvenient. > > We can set PYTHONUNBUFFERED, but then stdout is always unbuffered. > > On Linux w

Re: Temporally disabling buffering

2022-03-31 Thread Marco Sulla
Dirty suggestion: stderr? On Thu, 31 Mar 2022 at 18:38, Cecil Westerhof via Python-list wrote: > > In Python when the output of a script is going to a pipe stdout is > buffered. When sending output to tee that is very inconvenient. > > We can set PYTHONUNBUFFERED, but then stdout is always unbuff

Re: Suggestion for Linux Distro (from PSA: Linux vulnerability)

2022-03-31 Thread Peter J. Holzer
On 2022-03-31 09:46:14 +0200, Cecil Westerhof via Python-list wrote: > "Peter J. Holzer" writes: > > Standard policy (there are exceptions) on most distros is to stay with > > the same version of any package for the entire lifetime. So for example, > > Ubuntu 20.04 was released with Apache 2.4.41

Re: 'äÄöÖüÜ' in Unicode (utf-8)

2022-03-31 Thread Dennis Lee Bieber
On Thu, 31 Mar 2022 00:36:10 -0700 (PDT), moi declaimed the following: 'äÄöÖüÜ'.encode('utf-8') >b'\xc3\xa4\xc3\x84\xc3\xb6\xc3\x96\xc3\xbc\xc3\x9c' len('äÄöÖüÜ'.encode('utf-8')) >12 ? Is there a question in there somewhere? Crystal ball is hazy...

Re: Suggestion for Linux Distro (from PSA: Linux vulnerability)

2022-03-31 Thread Cecil Westerhof via Python-list
"Peter J. Holzer" writes: > On 2022-03-30 08:48:36 +0200, Marco Sulla wrote: >> On Tue, 29 Mar 2022 at 00:10, Peter J. Holzer wrote: >> > They are are about a year apart, so they will usually contain different >> > versions of most packages right from the start. So the Ubuntu and Debian >> > sec

Temporally disabling buffering

2022-03-31 Thread Cecil Westerhof via Python-list
In Python when the output of a script is going to a pipe stdout is buffered. When sending output to tee that is very inconvenient. We can set PYTHONUNBUFFERED, but then stdout is always unbuffered. On Linux we can do: PYTHONUNBUFFERED=T script.py | tee script.log Now the output is only unbuf

Re: Suggestion for Linux Distro (from PSA: Linux vulnerability)

2022-03-31 Thread Cecil Westerhof via Python-list
"Peter J. Holzer" writes: > On 2022-03-28 15:35:07 +0200, Cecil Westerhof via Python-list wrote: >> "Loris Bennett" writes: >> > Ubuntu is presumably relying on the Debian security team as well as >> > other volunteers and at least one company, namely Canonical. >> >> Nope. One important reason

Exchange OWA using Python?

2022-03-31 Thread Grant Edwards
Is anybody aware of any Python code for the Exchange OWA protocol/API? The OWA e-mail client I've been using has stopped working. It was a commerical Python application named Hiri, wich has been abandoned by the developer. So, for now, I'm stuck with the OWA web client. It's clumsy and everything