News for hackers. Stuff that matters.
Re:How to Make Python Wait by 2rsf on Thursday December 19, 2019 @07:49AM (#21834421)
Good article on an important topic for novices, but why is it so long ?
Re:How to Make Python Wait by PostOnce on Friday December 20, 2019 @05:28AM (#21843049)
Because it helps you learn.

You can tell someone a brief answer to memorize, but to teach them anything takes a little more explaining.

For example, Question #1 is often "how do I do this in some particular way", but 2 and 3, "why" and "when" should I do it that particular way -- they take more explaining than #1 -- and through that explanation, you start to get good at your craft.

Re:How to Make Python Wait by HeadInTheClouds on Friday December 20, 2019 @07:06AM (#21843514)
Actually I also liked the way each iteration built on the previous concept. Having the full code at each step adds a lot to the length, but for beginners, this is really useful.
Re:How to Make Python Wait by jangid on Friday December 20, 2019 @06:51AM (#21843444)
Actually, I started reading about async/await from asyncio package. But for a newbie the above article is much simpler to grasp concurrency and parallelism concepts. And the sample code makes it a lot easier.
Re:How to Make Python Wait by pintable on Friday December 20, 2019 @04:24PM (#21847492)
Didn't seem that long to me? The examples are additive and easy to follow, too.