[Tkinter-discuss] TKinter and Python asyncio

Michael Lange klappnase at web.de
Tue Dec 19 18:23:01 EST 2017

On Tue, 19 Dec 2017 23:21:16 +0100
<c.buhtz at posteo.jp> wrote:

> On 2017-12-19 04:18 Bhaskar Chaudhary <bha100710 at gmail.com> wrote:
> > Check out this code:
> > https://github.com/fluentpython/asyncio-tkinter
> > 
> > Download the entire code from above and run tkapp2.py
> The example doesn't run on Python3.6. It is quite old and maybe use
> some deprecated concepts?
> The code itself is quite complex.

That's what I have been thinking, too. From what I saw there it looks to
me like it might be much easier to just download the files from within a
separate thread. I don't know what exactly you want to achieve of
course, but from your first post my impression was that using threads
should not be overly difficult. I might be wrong there, of course.

> It is not suitable to demonstrate
> how to combine asyncio with Tkinter the right way.

Unfortunately I have no experience with asyncio at all, so I have no idea
if things could be handled considerably easier using it instead of

Best regards


.-.. .. ...- .   .-.. --- -. --.   .- -. -..   .--. .-. --- ... .--. . .-.

	"What terrible way to die."
	"There are no good ways."
		-- Sulu and Kirk, "That Which Survives", stardate unknown

More information about the Tkinter-discuss mailing list