On Tue, 19 Dec 2017 23:21:16 +0100 <c.bu...@posteo.jp> wrote: > On 2017-12-19 04:18 Bhaskar Chaudhary <bha100...@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 threads. Best regards Michael .-.. .. ...- . .-.. --- -. --. .- -. -.. .--. .-. --- ... .--. . .-. "What terrible way to die." "There are no good ways." -- Sulu and Kirk, "That Which Survives", stardate unknown _______________________________________________ Tkinter-discuss mailing list Tkinter-discuss@python.org https://mail.python.org/mailman/listinfo/tkinter-discuss